Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Add some statsd debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
dazoakley committed Jan 27, 2015
1 parent ca93972 commit b4fd247
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/bandiera.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,13 @@ def build_statsd_client

statsd = Statsd.new(ENV['STATSD_HOST'], ENV['STATSD_PORT'])
statsd.namespace = statsd_namespace
Macmillan::Utils::StatsdDecorator.new(statsd, ENV['RACK_ENV'], logger)
decd_statsd = Macmillan::Utils::StatsdDecorator.new(statsd, ENV['RACK_ENV'], logger)

logger.error(statsd.inspect)
logger.error(decd_statsd.inspect)
logger.error(ENV.inspect)

decd_statsd
end

def statsd_namespace
Expand Down

0 comments on commit b4fd247

Please sign in to comment.