Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options to send telemetry to DogStatsD #1293

Merged
merged 3 commits into from
Nov 13, 2015
Merged

Conversation

talwai
Copy link
Contributor

@talwai talwai commented Oct 12, 2015

The changeset at hashicorp/go-metrics#19 added a DogStatsD sink, that satisfies the interface Consul requires for its runtime telemetry. It would be nice to have top-level configuration options in Consul for the initialization and use of this sink, similar to the options for vanilla statsd and statsite.

This PR adds 2 configuration options:

  1. dogstatsd_addr : The address of a DogStatsD instance
  2. dogstatsd_tags: A list of tags of the format ["my_tag_1:my_value_1", "my_tag_2:my_value_2"]. These tags will be appended to all runtime telemetry packets sent by Consul and can be leveraged in the Datadog graphing backend. Ref: http://docs.datadoghq.com/guides/tagging/

@tgwizard
Copy link
Contributor

👍

@talwai
Copy link
Contributor Author

talwai commented Oct 16, 2015

Seems like some merge conflicts have appeared, will rebase on master.

@talwai
Copy link
Contributor Author

talwai commented Nov 13, 2015

Hey guys, friendly ping on this. I resolved merge conflicts with master and also removed an unused import here that was causing CI to fail. let me know!

slackpad added a commit that referenced this pull request Nov 13, 2015
Add options to send telemetry to DogStatsD
@slackpad slackpad merged commit 8defe75 into hashicorp:master Nov 13, 2015
@slackpad
Copy link
Contributor

Rebase looks good - thanks!

notnoopci added a commit to circleci/nomad that referenced this pull request Feb 6, 2018
Expose an global tags option in telemtry config for dogstatsd, for
purposes of distinguishing between multiple nomad cluster metrics.

This is close in spirit to hashicorp/consul#1293
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.

None yet

3 participants