VMware Cloud Community
jbirkett3
Contributor
Contributor
Jump to solution

Metric Label Unit Remove

Hi, 

I have a metric name called "Memory|Total Capacity" which obviously gives you the amount of Total memory allocated to a VM. The output is 8GB, 16GB, 32GB etc... 

Is there a way to remove the suffix GB, TB etc... I just want the number so it aids the process of when we are reporting etc.

Thanks

Jase

Labels (3)
Reply
0 Kudos
1 Solution

Accepted Solutions
jbirkett3
Contributor
Contributor
Jump to solution

Its ok, I've figured it out. I can use a function called Super Metrics using the following formula:

{this.metric=config|hardware|memoryKB}/1024

That gives me a figure I can use without the suffix.

 

View solution in original post

Tags (1)
Reply
0 Kudos
1 Reply
jbirkett3
Contributor
Contributor
Jump to solution

Its ok, I've figured it out. I can use a function called Super Metrics using the following formula:

{this.metric=config|hardware|memoryKB}/1024

That gives me a figure I can use without the suffix.

 

Tags (1)
Reply
0 Kudos