Skip to content

Commit

Permalink
Rename label for delayed unassigned shards
Browse files Browse the repository at this point in the history
  • Loading branch information
therealdwright committed Sep 6, 2021
1 parent 40f7a28 commit 89c35fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private void updateClusterMetrics(ClusterHealthResponse chr) {

catalog.setClusterGauge("cluster_shards_number", chr.getActiveShards(), "active");
catalog.setClusterGauge("cluster_shards_number", chr.getActivePrimaryShards(), "active_primary");
catalog.setClusterGauge("cluster_shards_number", chr.getDelayedUnassignedShards(), "unassigned");
catalog.setClusterGauge("cluster_shards_number", chr.getDelayedUnassignedShards(), "delayed_unassigned");
catalog.setClusterGauge("cluster_shards_number", chr.getInitializingShards(), "initializing");
catalog.setClusterGauge("cluster_shards_number", chr.getRelocatingShards(), "relocating");
catalog.setClusterGauge("cluster_shards_number", chr.getUnassignedShards(), "unassigned");
Expand Down

0 comments on commit 89c35fb

Please sign in to comment.