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 Aug 25, 2021
1 parent d83642b commit 4835ed4
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 4835ed4

Please sign in to comment.