diff --git a/pkg/metric/node/node.go b/pkg/metric/node/node.go index 24eb134..caca859 100644 --- a/pkg/metric/node/node.go +++ b/pkg/metric/node/node.go @@ -20,7 +20,7 @@ limitations under the License. package node const ( - CustomMetricNodeCPULoad1Min = "node_cpu_load_1min" // real-time cpu load + CustomMetricNodeCPULoad1Min = "node_cpu_load_system_1min" ) // real-time memory related metric @@ -28,3 +28,9 @@ const ( CustomMetricNodeMemoryFree = "node_system_memory_free" CustomMetricNodeMemoryAvailable = "node_system_memory_available" ) + +// real-time advisor-related metric +const ( + CustomMetricNodeAdvisorPoolLoad1Min = "node_advisor_pool_load_1min" + CustomMetricNodeAdvisorKnobStatus = "node_advisor_knob_status" +) diff --git a/pkg/metric/pod/pod.go b/pkg/metric/pod/pod.go index e8178b2..80315ee 100644 --- a/pkg/metric/pod/pod.go +++ b/pkg/metric/pod/pod.go @@ -19,7 +19,16 @@ limitations under the License. // api-server provided by katalyst. package pod +// real-time cpu related metric const ( - CustomMetricPodCPULoad1Min = "pod_cpu_load_1min" // cpu load - CustomMetricPodCPUUsage = "pod_cpu_usage" // cpu usage + CustomMetricPodCPULoad1Min = "pod_cpu_load_1min" + CustomMetricPodCPUUsage = "pod_cpu_usage" +) + +const ( + CustomMetricPodMemoryRSS = "pod_memory_rss" +) + +const ( + CustomMetricPodGPUUsage = "pod_gpu_usage" )