ceph_exporter icon indicating copy to clipboard operation
ceph_exporter copied to clipboard

stale metrics exported

Open jan--f opened this issue 5 years ago • 1 comments

Metrics that carry pool names or daemon IDs as a labels stay after the respective entity has been deleted from the cluster. To reproduce, create a pool until the ceph_exporter exports it, then delete it. The exporter will keep exporting the last pool metrics for said pool until restarted.

jan--f avatar Sep 13 '18 12:09 jan--f

Long-term we should just move these to const metrics rather than using gauges for those. That way once the collection stops prometheus should automatically discard the timeseries.

Let's keep this issue open until then.

neurodrone avatar Sep 19 '18 15:09 neurodrone

Closing since a fix for this was merged

alram avatar Feb 16 '23 19:02 alram