Skip to content

Commit 3b53693

Browse files
fix: ActiveStorage OTel API Constraints (#1435)
All instrumentations must use pessemistic _minor_ version locking starting with OTel API version `1.0`. We released the ActiveStorage instrumentation with a pessemistic _bug fix_ version dependency of OTel API 1.4.x, which is incorrect. That results in dependency and installation errors: mastodon/mastodon#33968 This change fixes the ActiveStorage instrumentation to use pessemstic minor version dependencies for the OTel API starting with `1.0`. cc: @renchap
1 parent e683f6c commit 3b53693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/active_storage/opentelemetry-instrumentation-active_storage.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
2525
spec.require_paths = ['lib']
2626
spec.required_ruby_version = ">= #{File.read(File.expand_path('../../gemspecs/RUBY_REQUIREMENT', __dir__))}"
2727

28-
spec.add_dependency 'opentelemetry-api', '~> 1.4.0'
28+
spec.add_dependency 'opentelemetry-api', '~> 1.0'
2929
spec.add_dependency 'opentelemetry-instrumentation-active_support', '~> 0.7'
3030
spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.23.0'
3131

0 commit comments

Comments
 (0)