Skip to content

Commit

Permalink
Merge pull request #2595 from pulibrary/use-datadog-gem
Browse files Browse the repository at this point in the history
Remove ddtrace and use datadog gem.
  • Loading branch information
christinach authored Jan 13, 2025
2 parents 4309f96 + 34862f8 commit a38a230
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ gem 'whenever'
gem 'yard'

group :production do
gem 'ddtrace'
gem 'datadog', require: 'datadog/auto_instrument'
end

group :development, :test do
Expand Down
19 changes: 8 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -211,16 +211,13 @@ GEM
rexml
crass (1.0.6)
csv (3.3.2)
datadog-ci (0.8.3)
datadog (2.8.0)
datadog-ruby_core_source (~> 3.3)
libdatadog (~> 14.3.1.1.0)
libddwaf (~> 1.18.0.0.0)
msgpack
datadog-ruby_core_source (3.3.7)
date (3.4.1)
ddtrace (1.23.3)
datadog-ci (~> 0.8.1)
debase-ruby_core_source (= 3.3.1)
libdatadog (~> 7.0.0.1.0)
libddwaf (~> 1.14.0.0.0)
msgpack
debase-ruby_core_source (3.3.1)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
devise (4.9.4)
Expand Down Expand Up @@ -339,8 +336,8 @@ GEM
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
lcsort (0.9.1)
libdatadog (7.0.0.1.0)
libddwaf (1.14.0.0.0)
libdatadog (14.3.1.1.0)
libddwaf (1.18.0.0.0)
ffi (~> 1.0)
library_stdnums (1.6.0)
lightly (0.2.1)
Expand Down Expand Up @@ -705,7 +702,7 @@ DEPENDENCIES
capybara
change_the_subject (~> 0.3.5)
coveralls_reborn
ddtrace
datadog
devise
dotenv-rails
ed25519
Expand Down
1 change: 0 additions & 1 deletion config/initializers/datadog.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true
if Rails.env.production?
Datadog.configure do |c|
c.tracing.eanbled = false unless Rails.env.production?
c.env = 'production'
# c.service = 'bibdata'
# Rails
Expand Down

0 comments on commit a38a230

Please sign in to comment.