@@ -168,13 +168,15 @@ var namespaceMetrics = []string{
}
varworkloadMetrics=[]string{
// TODO: the following four metrics are deprecated.
// TODO: the following five metrics are deprecated.
"workload_pod_cpu_usage",
"workload_pod_memory_usage",
"workload_pod_memory_usage_wo_cache",
"workload_pod_net_bytes_transmitted",
"workload_pod_net_bytes_received",
"workload_cpu_usage",
"workload_memory_usage",
"workload_memory_usage_wo_cache",
"workload_net_bytes_transmitted",
"workload_net_bytes_received",
...
...
@@ -407,13 +409,15 @@ var metricsPromqlMap = map[string]string{
"namespace_s2ibuilder_count":`sum by (namespace) (s2i_s2ibuilder_created{namespace!=""} * on (namespace) group_left(label_kubesphere_io_workspace) kube_namespace_labels{$1})`,
// workload
// TODO: the following four metrics are deprecated.
// TODO: the following five metrics are deprecated.