lib/opentelemetry.rb in opentelemetry-api-1.0.0.rc1 vs lib/opentelemetry.rb in opentelemetry-api-1.0.0.rc2

- old
+ new

@@ -22,11 +22,11 @@ extend self @mutex = Mutex.new @tracer_provider = Internal::ProxyTracerProvider.new - attr_writer :propagation, :baggage, :logger, :error_handler + attr_writer :propagation, :logger, :error_handler # @return [Object, Logger] configured Logger or a default STDOUT Logger. def logger @logger ||= Logger.new(STDOUT, level: ENV['OTEL_LOG_LEVEL'] || Logger::INFO) end @@ -61,16 +61,9 @@ # @return [Object, Trace::TracerProvider] registered tracer provider or a # default no-op implementation of the tracer provider. def tracer_provider @mutex.synchronize { @tracer_provider } - end - - # @return [Object, Baggage::NoopManager] registered - # baggage manager or a default no-op implementation of the - # manager. - def baggage - @baggage ||= Baggage::NoopManager.new end # @return [Context::Propagation::Propagator] a propagator instance def propagation @propagation ||= Context::Propagation::NoopTextMapPropagator.new