Skip to content

Commit

Permalink
Adds index_uuid as a common dimension (#83)
Browse files Browse the repository at this point in the history
* Scheduling statsCollector for all collectorModes

Signed-off-by: Atharva Sharma <atharvasharma61@gmail.com>

* Adds index_uuid as a common dimension

Signed-off-by: Atharva Sharma <atharvasharma61@gmail.com>

---------

Signed-off-by: Atharva Sharma <atharvasharma61@gmail.com>
  • Loading branch information
atharvasharma61 authored Jul 17, 2024
1 parent 5c62832 commit e5b9cbd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ public static class Constants {

public enum CommonDimension implements MetricDimension {
INDEX_NAME(Constants.INDEX_NAME_VALUE),
INDEX_UUID(Constants.INDEX_UUID_VALUE),
OPERATION(Constants.OPERATION_VALUE),
SHARD_ROLE(Constants.SHARD_ROLE_VALUE),
SHARD_ID(Constants.SHARD_ID_VALUE),
Expand All @@ -252,6 +253,7 @@ public String toString() {

public static class Constants {
public static final String INDEX_NAME_VALUE = "index_name";
public static final String INDEX_UUID_VALUE = "index_uuid";
public static final String SHARD_ID_VALUE = "shard_id";
public static final String OPERATION_VALUE = "operation";
public static final String SHARD_ROLE_VALUE = "shard_role";
Expand Down

0 comments on commit e5b9cbd

Please sign in to comment.