Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for randomSamplingPercentage (0.24 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. pilot/pkg/networking/core/tracing_test.go

    			Disabled:                 disableReporting,
    			RandomSamplingPercentage: ptr.Of(sampling),
    			CustomTags: map[string]*tpb.Tracing_CustomTag{
    				"test": nil,
    			},
    			UseRequestIDForTraceSampling: useRequestIDForTraceSampling,
    		},
    		ServerSpec: model.TracingSpec{
    			Provider:                 provider,
    			Disabled:                 disableReporting,
    			RandomSamplingPercentage: ptr.Of(sampling),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 20:47:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/tracing.go

    	}
    
    	// provider.sampler > telemetry.RandomSamplingPercentage > defaultConfig.tracing.sampling > PILOT_TRACE_SAMPLING
    	var sampling float64
    	if useCustomSampler {
    		// If the TracingProvider has a custom sampler (OTel Sampler)
    		// the sampling percentage is set to 100% so all spans arrive at the sampler for its decision.
    		sampling = 100
    	} else if spec.RandomSamplingPercentage != nil {
    		sampling = *spec.RandomSamplingPercentage
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. pilot/pkg/model/telemetry.go

    		if m.CustomTags != nil {
    			for _, spec := range specs {
    				spec.CustomTags = m.CustomTags
    			}
    		}
    		if m.RandomSamplingPercentage != nil {
    			for _, spec := range specs {
    				spec.RandomSamplingPercentage = ptr.Of(m.RandomSamplingPercentage.GetValue())
    			}
    		}
    		if m.UseRequestIdForTraceSampling != nil {
    			for _, spec := range specs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top