Skip to content

Commit

Permalink
No datadog in staging.
Browse files Browse the repository at this point in the history
Staging wasn't in our datadog quote, and this throws errors if the agent
isn't installed.
  • Loading branch information
tpendragon committed Mar 5, 2018
1 parent b195eac commit 7645c5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ group :development, :staging do
gem "rack-mini-profiler", require: false
end

group :production, :staging do
group :production do
gem 'ddtrace'
end

Expand Down
2 changes: 1 addition & 1 deletion config/initializers/datadog.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true
if Rails.env.production? || Rails.env.staging?
if Rails.env.production?
require 'ddtrace'
Datadog.configure do |c|
# Rails
Expand Down

0 comments on commit 7645c5d

Please sign in to comment.