Class SamplingResult
-
- All Implemented Interfaces:
public final class SamplingResult
-
-
Field Summary
Fields Modifier and Type Field Description private final Boolean
sample
private final Attributes
attributes
-
Constructor Summary
Constructors Constructor Description SamplingResult(Boolean sample, Attributes attributes)
-
Method Summary
Modifier and Type Method Description final Boolean
getSample()
Whether the span should be sampled. final Attributes
getAttributes()
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.
-
-
-
-