struct OpenTelemetry::Sampler::AlwaysOff
- OpenTelemetry::Sampler::AlwaysOff
- OpenTelemetry::InheritableSampler
- OpenTelemetry::Sampler
- Struct
- Value
- Object
Defined in:
samplers/always_off.crConstructors
Instance Method Summary
-
#description
The AlwaysOff sample does not respond to configuration.
Instance methods inherited from struct OpenTelemetry::Sampler
description
description,
get_description
get_description,
should_sample(context : SpanContext, name : String = "", trace_id : Slice(UInt8) | Nil = nil, kind : OpenTelemetry::Span::Kind = OpenTelemetry::Span::Kind::Internal, attributes : Hash(String, AnyAttribute) = {} of String => AnyAttribute, links : Nil = nil) : SamplingResultshould_sample(span) should_sample, to_s(io) to_s
Constructor methods inherited from struct OpenTelemetry::Sampler
new(arg = nil)
new
Constructor Detail
Instance Method Detail
def description
#
The AlwaysOff sample does not respond to configuration. Thus, the description is never anyting but a plain label.