Class CachingSnapshotAndShardByStateMetricsService

java.lang.Object
org.elasticsearch.snapshots.CachingSnapshotAndShardByStateMetricsService

public class CachingSnapshotAndShardByStateMetricsService extends Object
Generates the snapshots-by-state and shards-by-state metrics when polled. Only produces metrics on the master node, and only while the ClusterService is started. Will only re-calculate the metrics if the SnapshotsInProgress has changed since the last time they were calculated.