Skip to content

Commit

Permalink
feat: new ServiceSystemIndicatorName
Browse files Browse the repository at this point in the history
Signed-off-by: linzhecheng <[email protected]>
  • Loading branch information
cheney-lin committed Mar 18, 2024
1 parent 45cdd48 commit d32d993
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pkg/apis/workload/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,12 @@ type ServiceBusinessIndicatorSpec struct {
type ServiceSystemIndicatorName string

const (
ServiceSystemIndicatorNameCPUSchedWait ServiceSystemIndicatorName = "cpu_sched_wait"
ServiceSystemIndicatorNameCPUUsageRatio ServiceSystemIndicatorName = "cpu_usage_ratio"
ServiceSystemIndicatorNameCPI ServiceSystemIndicatorName = "cpi"
ServiceSystemIndicatorNameCPUSchedWait ServiceSystemIndicatorName = "cpu_sched_wait"
ServiceSystemIndicatorNameCPUUsageRatio ServiceSystemIndicatorName = "cpu_usage_ratio"
ServiceSystemIndicatorNameCPI ServiceSystemIndicatorName = "cpi"
ServiceSystemIndicatorNameMemoryAccessWriteLatency ServiceSystemIndicatorName = "mem_access_write_lat"
ServiceSystemIndicatorNameMemoryAccessReadLatency ServiceSystemIndicatorName = "mem_access_read_lat"
ServiceSystemIndicatorNameMemoryL3MissLatency ServiceSystemIndicatorName = "mem_l3_miss_lat"
)

// ServiceSystemIndicatorSpec defines workload profiling in system level, such as
Expand Down

0 comments on commit d32d993

Please sign in to comment.