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

Reduce metric cardinality #17

Merged
merged 3 commits into from
May 21, 2024
Merged

Conversation

0xB10C
Copy link
Owner

@0xB10C 0xB10C commented May 21, 2024

To reduce the metric cardinality, only include for example, subnets in the metrics instead of full addresses. This should reduce the bandwidth used when scarping metrics and improve scrape duration.

https://grafana.com/blog/2022/10/20/how-to-manage-high-cardinality-metrics-in-prometheus-and-kubernetes/

@0xB10C 0xB10C force-pushed the 2024-05-reduce-metric-cardinality branch from 671b722 to 72f4301 Compare May 21, 2024 13:22
@0xB10C 0xB10C merged commit d2df9d0 into master May 21, 2024
2 checks passed
@0xB10C 0xB10C deleted the 2024-05-reduce-metric-cardinality branch May 21, 2024 13:47
0xB10C added a commit to 0xB10C/nix that referenced this pull request May 21, 2024
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.

1 participant