Class AutoValue_ImmutableSamplingResult
java.lang.Object
io.opentelemetry.sdk.trace.samplers.ImmutableSamplingResult
io.opentelemetry.sdk.trace.samplers.AutoValue_ImmutableSamplingResult
- All Implemented Interfaces:
SamplingResult
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_ImmutableSamplingResult(SamplingDecision decision, Attributes attributes) -
Method Summary
Methods inherited from class ImmutableSamplingResult
createSamplingResultMethods inherited from interface SamplingResult
getUpdatedTraceState
-
Field Details
-
decision
-
attributes
-
-
Constructor Details
-
AutoValue_ImmutableSamplingResult
AutoValue_ImmutableSamplingResult(SamplingDecision decision, Attributes attributes)
-
-
Method Details
-
getDecision
Description copied from interface:SamplingResultReturn decision on whether a span should be recorded, recorded and sampled or not recorded.- Specified by:
getDecisionin interfaceSamplingResult- Specified by:
getDecisionin classImmutableSamplingResult- Returns:
- sampling result.
-
getAttributes
Description copied from interface:SamplingResultReturn tags which will be attached to the span.- Specified by:
getAttributesin interfaceSamplingResult- Specified by:
getAttributesin classImmutableSamplingResult- Returns:
- attributes added to span. These attributes should be added to the span only when
the sampling decision is
SamplingDecision.RECORD_ONLYorSamplingDecision.RECORD_AND_SAMPLE.
-
toString
-
equals
-
hashCode
-