lib/opentelemetry/instrumentation/registry.rb in opentelemetry-instrumentation-base-0.19.0 vs lib/opentelemetry/instrumentation/registry.rb in opentelemetry-instrumentation-base-0.20.0
- old
+ new
@@ -74,10 +74,10 @@
&.instance
end
def install_instrumentation(instrumentation, config)
if instrumentation.install(config)
- OpenTelemetry.logger.info "Instrumentation: #{instrumentation.name} was successfully installed"
+ OpenTelemetry.logger.info "Instrumentation: #{instrumentation.name} was successfully installed with the following options #{instrumentation.config}"
else
OpenTelemetry.logger.warn "Instrumentation: #{instrumentation.name} failed to install"
end
rescue => e # rubocop:disable Style/RescueStandardError
OpenTelemetry.handle_error(exception: e, message: "Instrumentation: #{instrumentation.name} unhandled exception during install: #{e.backtrace}")