Skip to content

Comments

Dogstatsd magic tags#1164

Merged
LotharSee merged 4 commits intomasterfrom
dogstatsd-magic-tags
Oct 27, 2014
Merged

Dogstatsd magic tags#1164
LotharSee merged 4 commits intomasterfrom
dogstatsd-magic-tags

Conversation

@LotharSee
Copy link
Contributor

Currently, If someone report a host or device tag with DogStatsD, the tag will conflict with the host and device attribute in the webapp. To avoid this confusion (and to allow not to set these optional fields with dogstatsd), this PR brings:

  • host:foo and device:bar tags will override the attributes hostname:foo and device_name:bar
  • if set to empty (host: or device:), these fields are removed. Useful to remove the cardinality of metrics when they aren't useful.
  • a PR is already opened on dogapi to implement it Allow to override stats metrics host dogapi#116

@LeoCavaille LeoCavaille added this to the 5.2.0 milestone Oct 23, 2014
@LotharSee LotharSee modified the milestones: 5.1.0, 5.2.0 Oct 27, 2014
LotharSee added a commit that referenced this pull request Oct 27, 2014
@LotharSee LotharSee merged commit fe798a4 into master Oct 27, 2014
@LeoCavaille
Copy link
Member

If we're going forward with this for 5.1, could you add an entry to changelog please?

@LotharSee
Copy link
Contributor Author

Sorry I forgot it, done here: d44f413

@remh remh deleted the dogstatsd-magic-tags branch March 23, 2015 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants