Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for randomSamplingPercentage (0.25 sec)

  1. pilot/pkg/model/telemetry_test.go

    		Tracing: []*tpb.Tracing{
    			{
    				RandomSamplingPercentage: &wrappers.DoubleValue{Value: 50.0},
    				CustomTags: map[string]*tpb.Tracing_CustomTag{
    					"foo": {},
    					"bar": {},
    				},
    				UseRequestIdForTraceSampling: &wrappers.BoolValue{Value: false},
    			},
    		},
    	}
    	overidesB := &tpb.Telemetry{
    		Tracing: []*tpb.Tracing{
    			{
    				RandomSamplingPercentage: &wrappers.DoubleValue{Value: 80.0},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  2. pkg/config/validation/validation.go

    			v = AppendWarningf(v, "multiple providers is not currently supported")
    		}
    		v = AppendValidation(v, validateTelemetryProviders(l.Providers))
    		if l.RandomSamplingPercentage.GetValue() < 0 || l.RandomSamplingPercentage.GetValue() > 100 {
    			v = appendErrorf(v, "randomSamplingPercentage must be in range [0.0, 100.0]")
    		}
    		for name, tag := range l.CustomTags {
    			if name == "" {
    				v = appendErrorf(v, "tag name may not be empty")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top