VMware Cloud Community
StevePB
Contributor
Contributor

Supermetric with Custom Attribute

We are trying to create a supermetric that returns the value on a custom attribute (always a number between 1 and 6) on a compute cluster.

From what I've seen online we can only use the 'where' operator with a custom attribute, since it could be any string of text.

Is it possible to write a supermetric that simply says

"supermetric=4 where 'custom attribute'=4"

If that is possible, could repeat this several times with different values so we can match 1,2,3,4,5 or 6? It's really frustrating that we can't simply read this value in as-is.

 

Thanks!

0 Kudos
0 Replies