From 449a64748547bed58c7b266101d17aa5f00b5551 Mon Sep 17 00:00:00 2001 From: luomingmeng Date: Thu, 22 Feb 2024 20:25:03 +0800 Subject: [PATCH] rename target indicator name to service system indicator name --- pkg/apis/workload/v1alpha1/types.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/apis/workload/v1alpha1/types.go b/pkg/apis/workload/v1alpha1/types.go index f57ab43..d0622e0 100644 --- a/pkg/apis/workload/v1alpha1/types.go +++ b/pkg/apis/workload/v1alpha1/types.go @@ -229,9 +229,9 @@ type ServiceBusinessIndicatorSpec struct { type ServiceSystemIndicatorName string const ( - TargetIndicatorNameCPUSchedWait ServiceSystemIndicatorName = "cpu_sched_wait" - TargetIndicatorNameCPUUsageRatio ServiceSystemIndicatorName = "cpu_usage_ratio" - TargetIndicatorNameCPI ServiceSystemIndicatorName = "cpi" + ServiceSystemIndicatorNameCPUSchedWait ServiceSystemIndicatorName = "cpu_sched_wait" + ServiceSystemIndicatorNameCPUUsageRatio ServiceSystemIndicatorName = "cpu_usage_ratio" + ServiceSystemIndicatorNameCPI ServiceSystemIndicatorName = "cpi" ) // ServiceSystemIndicatorSpec defines workload profiling in system level, such as