Interface TraceIdRatioBasedSamplerConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TraceIdRatioBasedSamplerConfig,TraceIdRatioBasedSamplerConfig.Builder
public interface TraceIdRatioBasedSamplerConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIf the given trace_id falls into a given percentage of all possible trace_id values, ShouldSample will return RECORD_AND_SAMPLE.If the given trace_id falls into a given percentage of all possible trace_id values, ShouldSample will return RECORD_AND_SAMPLE.booleanIf the given trace_id falls into a given percentage of all possible trace_id values, ShouldSample will return RECORD_AND_SAMPLE.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasSamplingPercentage
boolean hasSamplingPercentage()If the given trace_id falls into a given percentage of all possible trace_id values, ShouldSample will return RECORD_AND_SAMPLE. required [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.type.v3.FractionalPercent sampling_percentage = 1;- Returns:
- Whether the samplingPercentage field is set.
-
getSamplingPercentage
FractionalPercent getSamplingPercentage()If the given trace_id falls into a given percentage of all possible trace_id values, ShouldSample will return RECORD_AND_SAMPLE. required [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.type.v3.FractionalPercent sampling_percentage = 1;- Returns:
- The samplingPercentage.
-
getSamplingPercentageOrBuilder
FractionalPercentOrBuilder getSamplingPercentageOrBuilder()If the given trace_id falls into a given percentage of all possible trace_id values, ShouldSample will return RECORD_AND_SAMPLE. required [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.type.v3.FractionalPercent sampling_percentage = 1;
-