Skip to content

Use the client passed or the Datadog::Statsd client.#6

Open
joestump wants to merge 3 commits intometova:masterfrom
goldstar:client-config
Open

Use the client passed or the Datadog::Statsd client.#6
joestump wants to merge 3 commits intometova:masterfrom
goldstar:client-config

Conversation

@joestump
Copy link

@joestump joestump commented Apr 13, 2017

  • Sets host tag to ENV['HOSTNAME'] if ENV['INSTRUMENTATION_HOSTNAME'] isn't set.
  • Switches from Statsd.new to Datadog::Statsd.new.
  • Allows you to pass a configured instance of Datadog::Statsd when configuring. This allows people to add tags, do namespaces, etc.
  • Add an additional namespace that's added to key. This comes after any namespace configured in the client.

@dmitrym0
Copy link

dmitrym0 commented Jun 8, 2018

Well done, I wish I found this PR earlier!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants