Skip to content

Commit

Permalink
feat: setup datadog instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Saad Yousaf authored and Saad Yousaf committed Apr 4, 2024
1 parent 0dc490e commit e4ebc93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,4 @@ gem "rack-contrib", :git => 'https://github.com/rack/rack-contrib.git', :ref =>


gem "timecop", "~> 0.9.5"
gem 'ddtrace', require: 'ddtrace/auto_instrument'
4 changes: 4 additions & 0 deletions config/initializers/datadog.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

Datadog.configure do |c|
c.tracing.instrument :rails, service_name: 'forums'
end

0 comments on commit e4ebc93

Please sign in to comment.