elasticsearch-prometheus-exporter icon indicating copy to clipboard operation
elasticsearch-prometheus-exporter copied to clipboard

Snapshot metrics

Open alice-sawatzky opened this issue 5 years ago • 2 comments

It would be really nice to have a metric for the start_time and end_time of the last snapshot, with labels for repository and status. Snapshots getting stuck can lead to a pretty dangerous situation if unnoticed for too long, and it would be great to be able to alert on it based on prometheus metrics!

since it would only collect stats on the latest snapshot of each status per repository, there shouldn't be any cardinality issues either

alice-sawatzky avatar Mar 30 '20 19:03 alice-sawatzky

+1

cello86 avatar Jul 05 '22 14:07 cello86

+1

shaotingcheng avatar Apr 21 '23 09:04 shaotingcheng