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/fix: allow disabling high cardinality metrics, and add an option to periodically reset them #51

Merged
merged 2 commits into from
Jan 9, 2024

Conversation

cottand
Copy link
Owner

@cottand cottand commented Jan 8, 2024

This fixes #50 by periodically resetting the prometheus counters to keep the cardinality in check.

Even though that mitigates the issue greatly, it requires tweaking Metrics.resetPeriodMinutes (depending on your traffic).

So I still decided to disable high cardinality metrics by default in order to keep the rest of the metrics working (and protect people's privacy) by default.

@cottand cottand mentioned this pull request Jan 8, 2024
@cottand cottand merged commit 9cb692d into master Jan 9, 2024
12 checks passed
@cottand cottand deleted the disable-high-cardinality-metrics branch January 9, 2024 19:37
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.

Metrics Stop Counting
1 participant