Add optional StatsD performance tracking
This commit is contained in:
parent
7cfd5b680a
commit
306eb6e9c9
7 changed files with 43 additions and 4 deletions
|
@ -104,4 +104,8 @@ Rails.application.configure do
|
|||
config.react.variant = :production
|
||||
|
||||
config.active_record.logger = nil
|
||||
|
||||
config.to_prepare do
|
||||
StatsD.backend = StatsD::Instrument::Backends::NullBackend if ENV['STATSD_ADDR'].blank?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue