lib/opentelemetry/sdk/trace/tracer_provider.rb in opentelemetry-sdk-0.11.1 vs lib/opentelemetry/sdk/trace/tracer_provider.rb in opentelemetry-sdk-0.12.0

- old
+ new

@@ -10,11 +10,11 @@ # {TracerProvider} is the SDK implementation of {OpenTelemetry::Trace::TracerProvider}. class TracerProvider < OpenTelemetry::Trace::TracerProvider Key = Struct.new(:name, :version) private_constant(:Key) - attr_accessor :active_trace_config + attr_accessor :active_trace_config, :id_generator attr_reader :active_span_processor, :stopped, :resource alias stopped? stopped # Returns a new {TracerProvider} instance. # @@ -22,9 +22,10 @@ def initialize(resource = OpenTelemetry::SDK::Resources::Resource.create) @mutex = Mutex.new @registry = {} @active_span_processor = NoopSpanProcessor.instance @active_trace_config = Config::TraceConfig::DEFAULT + @id_generator = OpenTelemetry::Trace @registered_span_processors = [] @stopped = false @resource = resource end