Struct SamplingResult
Defined in File sampler.h
Struct Documentation
-
struct SamplingResult
The output of ShouldSample. It contains a sampling Decision and a set of Span Attributes.
Public Members
-
std::unique_ptr<const std::map<std::string, opentelemetry::common::AttributeValue>> attributes
-
nostd::shared_ptr<opentelemetry::trace::TraceState> trace_state
-
std::unique_ptr<const std::map<std::string, opentelemetry::common::AttributeValue>> attributes