lib/opentelemetry/instrumentation/base.rb in opentelemetry-instrumentation-base-0.22.0 vs lib/opentelemetry/instrumentation/base.rb in opentelemetry-instrumentation-base-0.22.1

- old
+ new

@@ -213,12 +213,13 @@ # return true if install was completed successfully. # # @param [Hash] config The config for this instrumentation def install(config = {}) return true if installed? - return false unless installable?(config) @config = config_options(config) + return false unless installable?(config) + instance_exec(@config, &@install_blk) @tracer = OpenTelemetry.tracer_provider.tracer(name, version) @installed = true end