Class: OpenTelemetry::Instrumentation::AwsSdk::Instrumentation
- Inherits:
-
Base
- Object
- Base
- OpenTelemetry::Instrumentation::AwsSdk::Instrumentation
- Defined in:
- lib/opentelemetry/instrumentation/aws_sdk/instrumentation.rb
Overview
Instrumentation class that detects and installs the AwsSdk instrumentation
Constant Summary collapse
- MINIMUM_VERSION =
Gem::Version.new('2.0')
Instance Method Summary collapse
Instance Method Details
#gem_version ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/opentelemetry/instrumentation/aws_sdk/instrumentation.rb', line 30 def gem_version if Gem.loaded_specs['aws-sdk'] Gem.loaded_specs['aws-sdk'].version elsif Gem.loaded_specs['aws-sdk-core'] Gem.loaded_specs['aws-sdk-core'].version end end |