We have instances that are running the node exporter that come and go via autoscaling but their metrics remain up in Grafana for days after leaving us with a ton of instances that are unnecessary. Is there a simple way to filter out instances that are no longer running/up in the dashboard only?
Hi @garretcoffman and welcome to the forum
I think what you are looking for is the up{}
time series that Prometheus automatically generates:
Here is a simple starting place. Note that I am returning only the instant
and not a range
:
This topic was automatically closed after 365 days. New replies are no longer allowed.