Skip to content

Commit

Permalink
removed unused items
Browse files Browse the repository at this point in the history
  • Loading branch information
atharvasharma61 committed Sep 2, 2024
1 parent 6aee9dc commit 2a08a69
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,24 +340,6 @@ public static class Constants {
}
}

public enum OSMetrics {
CPU_UTILIZATION(RTFMetrics.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";
}
}

public enum MetricUnits {
CORES(Constants.CORES_VALUE),
COUNT_PER_SEC(Constants.COUNT_PER_SEC_VALUE),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public enum StatExceptionCode {
MOUNTED_PARTITION_METRICS_COLLECTOR_ERROR("MountedPartitionMetricsCollectorError"),
NETWORK_COLLECTION_ERROR("NetworkCollectionError"),
OS_METRICS_COLLECTOR_ERROR("OSMetricsCollectorError"),
RTF_OS_METRICS_COLLECTOR_ERROR("RTFOSMetricsCollectorError"),
STATS_COLLECTOR_ERROR("StatsCollectorError"),
THREADPOOL_METRICS_COLLECTOR_ERROR("ThreadPoolMetricsCollectorError"),
RTF_THREADPOOL_METRICS_COLLECTOR_ERROR("RTFThreadPoolMetricsCollectorError"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ public enum StatMetrics implements MeasurementSet {
Statistics.SUM),
OS_METRICS_COLLECTOR_EXECUTION_TIME(
"OSMetricsCollectorExecutionTime", "millis", StatsType.LATENCIES, Statistics.SUM),
RTF_OS_METRICS_COLLECTOR_EXECUTION_TIME(
"RTFOSMetricsCollectorExecutionTime", "millis", StatsType.LATENCIES, Statistics.SUM),
STAT_COLLECTOR_EXECUTION_TIME(
"StatCollectorExecutionTime", "millis", StatsType.LATENCIES, Statistics.SUM),

Expand Down

0 comments on commit 2a08a69

Please sign in to comment.