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

feat(DogStatsD): parse EXTRA_TAGS to move from metric name into statsd tags #625

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

JDeuce
Copy link
Contributor

@JDeuce JDeuce commented Jun 19, 2024

When using the godogstats sink, previously the EXTRA_TAGS would not be emitted as statsd tags but as part of the metric name.

This PR adds additional string processing on the metrics in the dogstatsd sink, in order to emit them in the required format for datadog.

Also update the example regex in readme with a more optimal match example (greedily matches any potential extra dots in the descriptor)

@JDeuce JDeuce force-pushed the godogextratags branch 2 times, most recently from 3c57086 to 8c7030c Compare June 19, 2024 21:25
@JDeuce JDeuce marked this pull request as ready for review June 19, 2024 21:30
@JDeuce JDeuce changed the title feat(DogStatsD): support EXTRA_TAGS feat(DogStatsD): parse EXTRA_TAGS to move from metric name into statsd tags Jun 19, 2024
@JDeuce JDeuce force-pushed the godogextratags branch 10 times, most recently from d25a68f to dcbc8a4 Compare June 20, 2024 01:40
When using the godogstats sink, previously the EXTRA_TAGS would not be
emitted as datadog tags.

Signed-off-by: Josh Jaques <jjaques@gmail.com>
@ysawa0 ysawa0 merged commit 00d7d6c into envoyproxy:main Jun 20, 2024
6 checks passed
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