Skip to content

Commit 7949291

Browse files
authored
feat: add active_storage instrumentation to rails (#1391)
feat: add active_storage instrumentation to rails (and implicitly to all)
1 parent 1fc6949 commit 7949291

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

instrumentation/rails/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ group :test, :development do
1717
gem 'opentelemetry-instrumentation-action_pack', path: '../action_pack'
1818
gem 'opentelemetry-instrumentation-active_record', path: '../active_record'
1919
gem 'opentelemetry-instrumentation-active_support', path: '../active_support'
20+
gem 'opentelemetry-instrumentation-active_storage', path: '../active_storage'
2021
gem 'opentelemetry-instrumentation-action_view', path: '../action_view'
2122
gem 'opentelemetry-instrumentation-rack', path: '../rack'
2223
if RUBY_VERSION >= '3.4'

instrumentation/rails/lib/opentelemetry/instrumentation/rails.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module Rails
2020
require 'opentelemetry-instrumentation-action_view'
2121
require 'opentelemetry-instrumentation-action_mailer'
2222
require 'opentelemetry-instrumentation-active_record'
23+
require 'opentelemetry-instrumentation-active_storage'
2324
require 'opentelemetry-instrumentation-active_job'
2425
require 'opentelemetry-instrumentation-concurrent_ruby'
2526
require_relative 'rails/instrumentation'

instrumentation/rails/opentelemetry-instrumentation-rails.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Gem::Specification.new do |spec|
3131
spec.add_dependency 'opentelemetry-instrumentation-action_view', '~> 0.9.0'
3232
spec.add_dependency 'opentelemetry-instrumentation-active_job', '~> 0.8.0'
3333
spec.add_dependency 'opentelemetry-instrumentation-active_record', '~> 0.9.0'
34+
spec.add_dependency 'opentelemetry-instrumentation-active_storage', '~> 0.1.0'
3435
spec.add_dependency 'opentelemetry-instrumentation-active_support', '~> 0.8.0'
3536
spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.23.0'
3637
spec.add_dependency 'opentelemetry-instrumentation-concurrent_ruby', '~> 0.22.0'

0 commit comments

Comments
 (0)