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

metrics-generator metrics don't contain juju_ prefix in their labels #41

Open
michaeldmitry opened this issue Oct 4, 2024 · 1 comment

Comments

@michaeldmitry
Copy link
Contributor

Bug Description

When enabling metrics-generator to generate span-based metrics, we inject juju toplogy into those metrics, but they get injected without juju_ prefix

To Reproduce

1- Deploy Tempo HA https://discourse.charmhub.io/t/topic/15489
2- Deploy prometheus-k8s
3- integrate coordinator with prometheus over remote-write-endpoint
4- Deploy grafana-k8s
5- integrate grafana and prometheus over grafana-source
6- open grafana dashboard
7- open sources and check metrics that start with span-, you'll see labels missing the prefix

Environment

microk8s 1.28
juju 3.5.4

Relevant log output

N/A

Additional context

No response

@michaeldmitry
Copy link
Contributor Author

Should use label_matcher_dict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant