Class SamplingResult
-
- All Implemented Interfaces:
public final class SamplingResult
-
-
Field Summary
Fields Modifier and Type Field Description private final Booleansampleprivate final Attributesattributes
-
Constructor Summary
Constructors Constructor Description SamplingResult(Boolean sample, Attributes attributes)
-
Method Summary
Modifier and Type Method Description final BooleangetSample()Whether the span should be sampled. final AttributesgetAttributes()The attributes to add to the span. -
-
Constructor Detail
-
SamplingResult
SamplingResult(Boolean sample, Attributes attributes)
-
-
Method Detail
-
getAttributes
final Attributes getAttributes()
The attributes to add to the span.
-
-
-
-