Skip to content

Commit

Permalink
Adds heap metrics constants (#86)
Browse files Browse the repository at this point in the history
Signed-off-by: Gagan Juneja <gjjuneja@amazon.com>
Co-authored-by: Gagan Juneja <gjjuneja@amazon.com>
  • Loading branch information
Gaganjuneja and Gagan Juneja authored Jul 22, 2024
1 parent 47deb78 commit 4c28e2b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@ public static class Constants {
}

public enum OSMetrics {
CPU_UTILIZATION(AllMetrics.OSMetrics.Constants.CPU_VALUE);
CPU_UTILIZATION(Constants.CPU_VALUE),
HEAP_ALLOCATED(Constants.HEAP_ALLOCATED);

private final String value;

Expand All @@ -355,6 +356,7 @@ public String toString() {

public static class Constants {
public static final String CPU_VALUE = "cpu_utilization";
public static final String HEAP_ALLOCATED = "heap_allocated";
}
}
}

0 comments on commit 4c28e2b

Please sign in to comment.