struct OpenTelemetry::Proto::Trace::V1::TraceConfig

Included Modules

Defined in:

proto/trace_config.pb.cr

Constant Summary

FIELDS = {1 => {name: :constant_sampler, pb_type: ConstantSampler, crystal_type: ConstantSampler, cast_type: ConstantSampler?, native: false, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :trace_id_ratio_based, pb_type: TraceIdRatioBased, crystal_type: TraceIdRatioBased, cast_type: TraceIdRatioBased?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :rate_limiting_sampler, pb_type: RateLimitingSampler, crystal_type: RateLimitingSampler, cast_type: RateLimitingSampler?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :max_number_of_attributes, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :max_number_of_timed_events, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :max_number_of_attributes_per_timed_event, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :max_number_of_links, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :max_number_of_attributes_per_link, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, 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(constant_sampler : ConstantSampler | Nil = nil, trace_id_ratio_based : TraceIdRatioBased | Nil = nil, rate_limiting_sampler : RateLimitingSampler | Nil = nil, max_number_of_attributes : Int64 | Nil = nil, max_number_of_timed_events : Int64 | Nil = nil, max_number_of_attributes_per_timed_event : Int64 | Nil = nil, max_number_of_links : Int64 | Nil = nil, max_number_of_attributes_per_link : Int64 | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def constant_sampler : ConstantSampler | Nil #

def constant_sampler=(constant_sampler : ConstantSampler | Nil) #

def max_number_of_attributes : Int64 | Nil #

def max_number_of_attributes=(max_number_of_attributes : Int64 | Nil) #

def max_number_of_attributes_per_link : Int64 | Nil #

def max_number_of_attributes_per_link=(max_number_of_attributes_per_link : Int64 | Nil) #

def max_number_of_attributes_per_timed_event : Int64 | Nil #

def max_number_of_attributes_per_timed_event=(max_number_of_attributes_per_timed_event : Int64 | Nil) #

def max_number_of_links : Int64 | Nil #

def max_number_of_links=(max_number_of_links : Int64 | Nil) #

def max_number_of_timed_events : Int64 | Nil #

def max_number_of_timed_events=(max_number_of_timed_events : Int64 | Nil) #

def rate_limiting_sampler : RateLimitingSampler | Nil #

def rate_limiting_sampler=(rate_limiting_sampler : RateLimitingSampler | Nil) #

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

def to_protobuf #

def trace_id_ratio_based : TraceIdRatioBased | Nil #

def trace_id_ratio_based=(trace_id_ratio_based : TraceIdRatioBased | Nil) #