How to create super metric in vRealize Operations Manager

This is my first blog posting. I have been using vROPs for some months now and I will be showing you how to create a super metric in this blog posting. I am going to be using PureStorage FlashArrays for this task.


I will be designing a simple SuperMetric. The problem I am trying to solve here is to calculate Average Latency. I have both the read and write latency on a volume on PureStorage flash array but I am missing “Average Latency”. This is where I can utilize Super Metric, since a super metric can use simple metrics to create a new metric. I am going to be adding read and write latency together and taking a Average to create a new metric called “Average_Latency”. This is a good use case for creating super metric.

I am going to use the simple sum function in super metric to combine “Read Latency (us)”and “Write Latency (us)” metric together, since we do not have that metric available to us in vROPs for Flash array volumes. I am going to name this Super Metric as “Average_Latency”.

Login to your vRealize Operations Manager (vROPs) instance.


Click on Content -> SuperMetrics


Now I am going to walk you through the steps of creating your own supermetric. I am creating this super metric on flash array volume but you can choose any other object type as well.

Click on “+” sign to create a super metric.


You will see this pop window come up.


Click on “Function” as shown below and Select “Sum”


Click on “Operators” drop Down menu as shown below and select “(“ parenthesis.


Now click on Object Types as shown below and select “Pure Storage Adapter”


Here you can choose any other object type but you will have to choose the metric for that object type as well. Now you can click on any Object Type and I selected “Flash Array Volume” as shown below.


Now you can expand any Attributes and select “Flash Array Volume” metrics. For example, I selected “Read Latency (us)”. My goal is to sum “Read Latency (us)”and “Write Latency (us)”  together, since we do not have that metric available to us. So I am going to make a Super Metric called “TotalLatency”.

Double Click on “Read Latency (us)” as shown below.


Now in the formula below (as shown in the picture below) you can change the depth to a higher number like 2 to include objects like Flash array host which are higher in hierarchical chain. Every time you increase the depth by 1 you are going to be able to traverse the underlying parent object in your environment.


Now you can close the parenthesis as shown below by clicking on “Operators” drop down menu and selecting “)”


Now select “+” from the Operators drop down menu as shown below to add “Write Latency (us)” just like we did for “Read Latency (us)”.


I have shown the picture below to describe after you add the sum(${adaptertype=PureStorageAdapter, objecttype=Volume, attribute=Performance|Microsec_Per_Write, depth=2})


Now, Give the Super Metric a Name like I gave “Average_Latency ”, and click on “save” below.average_latency2

Highlight the SuperMetric you just created by left clicking on the row which has the SuperMetric in it. I have highlighted the super metric below in blue below.


In the same page click on “Object Types” tab below and click on “+” sign. Now you will be adding various adapters on which this super metric will operate.


Select Flash Array Volume.


click on “Select” below.


You will see that “Flash Array Volume” object type has been added for this Super Metric.


Now in order to add another object type for this super metric you have to click on “+” under “Object Types”. Click on drop down menu and select “FlashArray Host” this time.


click on “FlashArray Host” as shown below.


Now you have added two object types “Flash Array Volumes” and “Flash Array Host” to operate on “Average_Latency” SuperMetric.


Now we have to enable this SuperMetric “Average_Latency” in our default policy.

Click on Administration -> Policies. Then click on Policy Library tab as shown below.


Select Default Policy as shown below. I am choosing this Policy since this is the policy which I am using on all objects.


Click on Edit icon as shown below.


Click on “Collect Metrics and Properties” as shown below.


Click on “Attribute Type” as shown below.


Make sure to uncheck the Metric and Property boxes, under Attribute Type so you can only see the “SuperMetric”. This would make it easier to see the SuperMetric only.


Highlight all the SuperMetrics with “Average_Latency” and select all of them as shown below.


Click on “Actions” and then hover on “State” and select “Enable”. This will enable all the selected SuperMetrics with “Average_Latency”.


Now go to Environment -> FlashArray Resources as shown below.


Click on “PureStorage World”


Click on “FlashArray Volume” as shown below.


Click on any Volume like I clicked on “”.


Click on “TroubleShooting” Tab.


Click on “All Metrics” as shown below.


Click on “SuperMetrics” as shown below.


Double Click on “Average_Latency” or the SuperMetric you just created as shown below.


Now you have your SuperMetric created.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s