Skip to content

Commit

Permalink
Merge pull request #72 from cheney-lin/dev/indicatorName
Browse files Browse the repository at this point in the history
feat: new ServiceSystemIndicatorName
  • Loading branch information
waynepeking348 authored Mar 18, 2024
2 parents 45cdd48 + d32d993 commit 339cc97
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 339cc97

Please sign in to comment.