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

Keep track of metric names on the metric statsd_exporter_events_conflict_total #605

Merged

Conversation

pedro-stanaka
Copy link
Contributor

@pedro-stanaka pedro-stanaka commented Dec 23, 2024

Summary

This is a modification we did to our internal version of the statsd-exporter and actually makes this metric actionable, so you can track down which metrics are problematic and fix them at the source (application code) or filter them out in the statsd exporter configuration.

If cardinality is a concern for other users, I can try enabling this behind a feature flag, and report a constant metric name if we dont want to track it.

Copy link
Contributor

@matthiasr matthiasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm I think cardinality here is bounded because if you had a cardinality explosion, they wouldn't be conflicting? So I'm good with this as-is

@pedro-stanaka pedro-stanaka merged commit a7bc1e8 into prometheus:master Jan 24, 2025
4 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