struct OpenTelemetry::Proto::Trace::V1::ConstantSampler

Included Modules

Defined in:

proto/trace_config.pb.cr

Constant Summary

FIELDS = {1 => {name: :decision, pb_type: ConstantSampler::ConstantDecision, crystal_type: ConstantSampler::ConstantDecision, cast_type: ConstantSampler::ConstantDecision?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(decision : ConstantSampler::ConstantDecision | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def decision : ConstantSampler::ConstantDecision | Nil #

def decision=(decision : ConstantSampler::ConstantDecision | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #