Module org.elasticsearch.server
Package org.elasticsearch.snapshots
Class CachingSnapshotAndShardByStateMetricsService
java.lang.Object
org.elasticsearch.snapshots.CachingSnapshotAndShardByStateMetricsService
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.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
CachingSnapshotAndShardByStateMetricsService
-
-
Method Details
-
getShardsByState
-
getSnapshotsByState
-