abstract struct OpenTelemetry::InheritableSampler

Overview

All Samplers other than the ParentBased sampler should inherit from and implement this interface.

Direct Known Subclasses

Defined in:

sampler.cr

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) : SamplingResult
should_sample(span)
should_sample
, to_s(io) to_s

Constructor methods inherited from struct OpenTelemetry::Sampler

new(arg = nil) new