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

Share common knowledge on dashboard and rules analyse #9849

Open
Nexucis opened this issue Nov 7, 2024 · 1 comment
Open

Share common knowledge on dashboard and rules analyse #9849

Nexucis opened this issue Nov 7, 2024 · 1 comment

Comments

@Nexucis
Copy link

Nexucis commented Nov 7, 2024

Dear Mimir maintainer,

I have spent a couple of times on a new side project called metrics-usage. The goal of this project is to highlight which Prometheus metrics are used and where. (In which dashboard, in which Prometheus rules).

I have discovered that you are doing more or less the same thing and I took some inspirations from what you were doing for the Grafana dashboard.

Today I can assure you that the code you have to analyse the Grafana dashboards is incomplete and doesn't work very well. I have made a bunch of changes on my side to be more accurate and precise.

My question is simple: Would you be interested to import/reuse the code from metrics-usage to improve yours and ofc share knowledge and collaborate around this topic ?

If yes, then we can think about making an analyse library which can be imported in Mimir.

@Nexucis
Copy link
Author

Nexucis commented Nov 12, 2024

Well in case you would like to take a look to consider it, I have made a library https://github.com/perses/metrics-usage/blob/main/pkg/analyze/grafana/grafana.go. Should be easy to import now

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

No branches or pull requests

1 participant