lib/opentelemetry/sdk/trace/config/trace_config.rb in opentelemetry-sdk-0.5.1 vs lib/opentelemetry/sdk/trace/config/trace_config.rb in opentelemetry-sdk-0.6.0

- old
+ new

@@ -8,11 +8,11 @@ module SDK module Trace module Config # Class that holds global trace parameters. class TraceConfig - DEFAULT_SAMPLER = Samplers::ALWAYS_ON + DEFAULT_SAMPLER = Samplers.parent_based(root: Samplers::ALWAYS_ON) DEFAULT_MAX_ATTRIBUTES_COUNT = 32 DEFAULT_MAX_EVENTS_COUNT = 128 DEFAULT_MAX_LINKS_COUNT = 32 DEFAULT_MAX_ATTRIBUTES_PER_EVENT = 32 DEFAULT_MAX_ATTRIBUTES_PER_LINK = 32 @@ -28,16 +28,16 @@ attr_reader :sampler # The global default max number of attributes per {Span}. attr_reader :max_attributes_count - # The global default max number of {OpenTelemetry::Trace::Event}s per {Span}. + # The global default max number of {OpenTelemetry::SDK::Trace::Event}s per {Span}. attr_reader :max_events_count # The global default max number of {OpenTelemetry::Trace::Link} entries per {Span}. attr_reader :max_links_count - # The global default max number of attributes per {OpenTelemetry::Trace::Event}. + # The global default max number of attributes per {OpenTelemetry::SDK::Trace::Event}. attr_reader :max_attributes_per_event # The global default max number of attributes per {OpenTelemetry::Trace::Link}. attr_reader :max_attributes_per_link