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

Integrating queries from the Grafana Explore page #42

Open
vanugrah opened this issue Jan 15, 2025 · 1 comment
Open

Integrating queries from the Grafana Explore page #42

vanugrah opened this issue Jan 15, 2025 · 1 comment

Comments

@vanugrah
Copy link

Hey folks,

First of all a big thanks to the Perses team for creating this utility. Understanding metrics_usage is a critical first step to identifying unused/underused metrics. However one critical piece that is currently missing is ad-hoc queries from Grafana ( or your tool of choice).

Any interest in adding this feature to this project? A "simple" approach would be to parse the query logs generated by Grafana within a period of time and extract out the queries and by extension the underlying time series.

This is an are that we'll be investing time in this quarter so I'm trying to gauge whether this feature would be of interest to this project. If so, we'd love to collaborate on a solution.

@vanugrah
Copy link
Author

On a unrelated note - a static analyzer is a nice starting point, but have you also considered an online approach that keeps track of metrics usage over time? My thought is if this is turned into a service that is constantly polling the right sources and capturing a real time state of metrics_usage, then it could be used to auto downsample or even filter unused/underused metrics. A "Poor mans adaptive metrics" if you will.

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