lib/opentelemetry/sdk.rb in opentelemetry-sdk-0.4.0 vs lib/opentelemetry/sdk.rb in opentelemetry-sdk-0.5.0

- old
+ new

@@ -28,17 +28,17 @@ # OpenTelemetry::SDK.configure # # Install instrumentation individually with optional config # # OpenTelemetry::SDK.configure do |c| - # c.use 'OpenTelemetry::Adapters::Faraday', tracer_middleware: SomeMiddleware + # c.use 'OpenTelemetry::Instrumentation::Faraday', tracer_middleware: SomeMiddleware # end # # Install all instrumentation with optional config # # OpenTelemetry::SDK.configure do |c| - # c.use_all 'OpenTelemetry::Adapters::Faraday' => { tracer_middleware: SomeMiddleware } + # c.use_all 'OpenTelemetry::Instrumentation::Faraday' => { tracer_middleware: SomeMiddleware } # end # # Add a span processor # # OpenTelemetry::SDK.configure do |c| @@ -61,8 +61,9 @@ end require 'opentelemetry/sdk/configurator' require 'opentelemetry/sdk/correlation_context' require 'opentelemetry/sdk/internal' +require 'opentelemetry/sdk/instrumentation_library' require 'opentelemetry/sdk/resources' require 'opentelemetry/sdk/trace' require 'opentelemetry/sdk/version'