SamplingResult
zio.blocks.telemetry.SamplingResult
final case class SamplingResult(decision: SamplingDecision, attributes: Attributes, traceState: String)
The result of a sampling decision, including the decision itself, any additional attributes to add to the span, and the trace state.
Value parameters
- attributes
-
additional attributes to add to the span
- decision
-
the sampling decision
- traceState
-
the trace state string to propagate
Attributes
- Source
- Sampler.scala
- Graph
-
- Supertypes
Members list
In this article