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

move the extra labels to a metrics #2441

Open
amnonh opened this issue Dec 31, 2024 · 0 comments
Open

move the extra labels to a metrics #2441

amnonh opened this issue Dec 31, 2024 · 0 comments
Labels
enhancement New feature or request optimization

Comments

@amnonh
Copy link
Collaborator

amnonh commented Dec 31, 2024

Currently, cluster and DC labels are added to metrics in the Prometheus configuration. In addition, some users enrich their metrics by adding even more labels.

There are a few downsides to this approach:

  • Memory usage: each of those labels is stored again and again per metrics
  • It's harder to configure and update those labels.

The alternative is to put all the extra labels on a metric and use join to add the labels to the existing labels when needed

@amnonh amnonh added enhancement New feature or request optimization labels Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request optimization
Projects
None yet
Development

No branches or pull requests

1 participant