diff --git a/src/main/java/org/opensearch/performanceanalyzer/commons/metrics/RTFMetrics.java b/src/main/java/org/opensearch/performanceanalyzer/commons/metrics/RTFMetrics.java index 2a62dc8..f9d1f0a 100644 --- a/src/main/java/org/opensearch/performanceanalyzer/commons/metrics/RTFMetrics.java +++ b/src/main/java/org/opensearch/performanceanalyzer/commons/metrics/RTFMetrics.java @@ -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), diff --git a/src/main/java/org/opensearch/performanceanalyzer/commons/stats/metrics/StatExceptionCode.java b/src/main/java/org/opensearch/performanceanalyzer/commons/stats/metrics/StatExceptionCode.java index 6f98e80..dcb9bc2 100644 --- a/src/main/java/org/opensearch/performanceanalyzer/commons/stats/metrics/StatExceptionCode.java +++ b/src/main/java/org/opensearch/performanceanalyzer/commons/stats/metrics/StatExceptionCode.java @@ -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"), diff --git a/src/main/java/org/opensearch/performanceanalyzer/commons/stats/metrics/StatMetrics.java b/src/main/java/org/opensearch/performanceanalyzer/commons/stats/metrics/StatMetrics.java index 6de356c..f0a5e00 100644 --- a/src/main/java/org/opensearch/performanceanalyzer/commons/stats/metrics/StatMetrics.java +++ b/src/main/java/org/opensearch/performanceanalyzer/commons/stats/metrics/StatMetrics.java @@ -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),