struct OpenTelemetry::Proto::Trace::V1::TraceIdRatioBased

Included Modules

Defined in:

proto/trace_config.pb.cr

Constant Summary

FIELDS = {1 => {name: :sampling_ratio, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, 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(sampling_ratio : Float64 | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def sampling_ratio : Float64 | Nil #

def sampling_ratio=(sampling_ratio : Float64 | Nil) #

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

def to_protobuf #