Skip to content

Commit

Permalink
Adds OSMetrics Constants (#84)
Browse files Browse the repository at this point in the history
Signed-off-by: Gagan Juneja <[email protected]>
Co-authored-by: Gagan Juneja <[email protected]>
  • Loading branch information
Gaganjuneja and Gagan Juneja committed Jul 17, 2024
1 parent e5b9cbd commit 589f044
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,4 +336,23 @@ public static class Constants {
public static final String PACKET_PER_SEC_VALUE = "packets/s";
}
}

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

private final String value;

OSMetrics(String value) {
this.value = value;
}

@Override
public String toString() {
return value;
}

public static class Constants {
public static final String CPU_VALUE = "CPU_Utilization";
}
}
}

0 comments on commit 589f044

Please sign in to comment.