lib/opentelemetry/instrumentation/base.rb in opentelemetry-instrumentation-base-0.22.5 vs lib/opentelemetry/instrumentation/base.rb in opentelemetry-instrumentation-base-0.22.6

- old
+ new

@@ -302,10 +302,10 @@ rescue StandardError => e OpenTelemetry.handle_error(exception: e, message: "Instrumentation #{name} unexpected configuration error") h[option_name] = option[:default] end - dropped_config_keys = user_config.keys - validated_config.keys + dropped_config_keys = user_config.keys - validated_config.keys - [:enabled] OpenTelemetry.logger.warn("Instrumentation #{name} ignored the following unknown configuration options #{dropped_config_keys}") unless dropped_config_keys.empty? validated_config end