Is your feature request related to a problem? Please describe.
I have a problem that Grafana Alloy scrapes the same metrics at fixed interval. I want it to scrape only changed metrics. This effectively reduces Grafana Cloud costs where I exceed metrics usage coverage.
Describe the solution you would like to see
One workaround without dealing with Grafana Alloy is to implement removal of metrics from /metrics endpoint.
How would you expect this feature to work
It would be nice if metrics prune is provided as a library method. For example, Peep library provides prune_tags/2 method.
Additional context
Peep hexdocs.
Is your feature request related to a problem? Please describe.
I have a problem that Grafana Alloy scrapes the same metrics at fixed interval. I want it to scrape only changed metrics. This effectively reduces Grafana Cloud costs where I exceed metrics usage coverage.
Describe the solution you would like to see
One workaround without dealing with Grafana Alloy is to implement removal of metrics from
/metricsendpoint.How would you expect this feature to work
It would be nice if metrics prune is provided as a library method. For example, Peep library provides prune_tags/2 method.
Additional context
Peep hexdocs.