lib/opentelemetry/sdk.rb in opentelemetry-sdk-0.16.0 vs lib/opentelemetry/sdk.rb in opentelemetry-sdk-0.17.0

- old
+ new

@@ -4,10 +4,11 @@ # # SPDX-License-Identifier: Apache-2.0 require 'opentelemetry' require 'opentelemetry/common' +require 'opentelemetry-instrumentation-base' # OpenTelemetry is an open source observability framework, providing a # general-purpose API, SDK, and related tools required for the instrumentation # of cloud-native software, frameworks, and libraries. # @@ -64,17 +65,16 @@ configurator.configure rescue StandardError begin raise ConfigurationError rescue ConfigurationError => e - OpenTelemetry.handle_error(exception: e, message: 'unexpected configuration error') + OpenTelemetry.handle_error(exception: e, message: "unexpected configuration error due to #{e.cause}") end end end end require 'opentelemetry/sdk/configurator' -require 'opentelemetry/sdk/baggage' require 'opentelemetry/sdk/internal' require 'opentelemetry/sdk/instrumentation_library' require 'opentelemetry/sdk/resources' require 'opentelemetry/sdk/trace' require 'opentelemetry/sdk/version'