VMware Cloud Community
SE-Devops
Contributor
Contributor

Counting CPU Contention in a time frame

I need to show how many times a CPU Contention has reached over 4 percent in a certain time, let's say a week.

So far this is what I've got for a SuperMetric:

count(${this, metric=cpu|capacity_contentionPct, where=($value > 1)})

But it just shows 1s...

 

Reply
0 Kudos
1 Reply
FredGSanford
Enthusiast
Enthusiast

This can be shown in a view using the Sum transformation with time settings set to 7 days.

FredGSanford_0-1688402945550.png

 

Reply
0 Kudos