lib/opentelemetry/instrumentation/aws_sdk/instrumentation.rb in aspecto-opentelemetry-instrumentation-aws_sdk-0.3.0 vs lib/opentelemetry/instrumentation/aws_sdk/instrumentation.rb in aspecto-opentelemetry-instrumentation-aws_sdk-0.4.1
- old
+ new
@@ -22,9 +22,10 @@
compatible do
!gem_version.nil? && gem_version >= MINIMUM_VERSION
end
+ option :extract_messaging_context, default: false, validate: :boolean
option :inject_messaging_context, default: false, validate: :boolean
option :suppress_internal_instrumentation, default: false, validate: :boolean
def gem_version
if Gem.loaded_specs['aws-sdk']