public static interface Sampler.Decision
Sampler.shouldSample(SpanContext, TraceId, String,
Span.Kind, Map, List)
.Modifier and Type | Method and Description |
---|---|
Map<String,io.opentelemetry.common.AttributeValue> |
getAttributes()
Return tags which will be attached to the span.
|
boolean |
isSampled()
Return sampling decision whether span should be sampled or not.
|
boolean isSampled()
Map<String,io.opentelemetry.common.AttributeValue> getAttributes()
isSampled()
changes from false to true.