struct OpenTelemetry::Proto::Trace::V1::TraceConfig
- OpenTelemetry::Proto::Trace::V1::TraceConfig
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
proto/trace_config.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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 Summary
Instance Method Summary
- #[](key : String)
- #constant_sampler : ConstantSampler | Nil
- #constant_sampler=(constant_sampler : ConstantSampler | Nil)
- #max_number_of_attributes : Int64 | Nil
- #max_number_of_attributes=(max_number_of_attributes : Int64 | Nil)
- #max_number_of_attributes_per_link : Int64 | Nil
- #max_number_of_attributes_per_link=(max_number_of_attributes_per_link : Int64 | Nil)
- #max_number_of_attributes_per_timed_event : Int64 | Nil
- #max_number_of_attributes_per_timed_event=(max_number_of_attributes_per_timed_event : Int64 | Nil)
- #max_number_of_links : Int64 | Nil
- #max_number_of_links=(max_number_of_links : Int64 | Nil)
- #max_number_of_timed_events : Int64 | Nil
- #max_number_of_timed_events=(max_number_of_timed_events : Int64 | Nil)
- #rate_limiting_sampler : RateLimitingSampler | Nil
- #rate_limiting_sampler=(rate_limiting_sampler : RateLimitingSampler | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #trace_id_ratio_based : TraceIdRatioBased | Nil
- #trace_id_ratio_based=(trace_id_ratio_based : TraceIdRatioBased | Nil)
Constructor Detail
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
Instance Method Detail
def max_number_of_attributes_per_timed_event=(max_number_of_attributes_per_timed_event : Int64 | Nil)
#