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

feat: fixup metrics + tags #1407

Merged
merged 1 commit into from
Jun 27, 2020
Merged

feat: fixup metrics + tags #1407

merged 1 commit into from
Jun 27, 2020

Conversation

pjenvey
Copy link
Member

@pjenvey pjenvey commented Jun 27, 2020

Description

remove datadog's ThreadStats (as it only speaks datadog's http protocol)
w/ markus backed by the plain statsd compatible Datadog backend

upgrade datadog to avoid its own telemetry metrics producing garbage
tags

Note:

This is simplified from #1401 and has a couple other fixes:

  • markus is actually expecting the original datadog style tags arguments we currently use e.g. ['foo:bar', 'baz:quux'], and the PR had a few straggler uses of the old style anyway, so kept what we have
  • fixes passes them along via the tags= kwarg it expects
  • doesn't pass the namespace option to Datadog (as markus inserts it for us)

Testing

Running against a local statsd collector produces expected metrics + tags

Issue(s)

Closes #1400

@pjenvey pjenvey requested a review from a team June 27, 2020 01:59
@pjenvey pjenvey force-pushed the feat/1400b branch 2 times, most recently from ef737f0 to 6a4b5ea Compare June 27, 2020 02:10
@pjenvey pjenvey changed the title feat: fixup metric + tags feat: fixup metrics + tags Jun 27, 2020
remove datadog's ThreadStats (as it only speaks datadog's http protocol)
w/ markus backed by the plain statsd compatible Datadog backend

upgrade datadog to avoid its own telemetry metrics producing garbage
tags

Co-authored-by: JR Conlin <[email protected]>

Closes #1400
@jrconlin jrconlin merged commit 3033725 into master Jun 27, 2020
@pjenvey pjenvey deleted the feat/1400b branch June 27, 2020 21:08
@sciurus
Copy link

sciurus commented Jun 29, 2020

LGTM!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add metric handler for grafana
3 participants