Define the Relative Metric Path
A metric path is a pipe-delineated path to a specific metric. In the Controller UI, hover over a metric in the Metric Browser to get the full metric path. Right-click the metric to view theCopy Full Pathoption.
To define the relative metric path, truncate the leftmost part of the full metric path.
To know how much to truncate for a particular use case, look at the embedded metric browser in theMetric Selectionpanel of the widget or health rule configuration that you are setting up. By the time you have reached this selector, you will have configured the application, tiers, or nodes of the metric that you want to select.
Use the category in theMetric Selectionpanel as the first segment of the relative metric path, truncating everything from the full metric path that comes before that segment. In the example, the first segment would be Analytics Data Collection Time, Analytics Method Evaluation Time, Analytics Stack Trace Capture Time, or Average End to End Latency.
As per the preceding example, the full metric path copied from the Metric Browser is Application Infrastructure Performance|ECommerce Server|Hardware Resources|Disks|dev-dm-1|% CPU Time.
Truncate everything to the left of the category selected in the Metric Selection panel that is, Hardware Resources in this example, as the display in the embedded Metric Browser starts with Hardware Resources.
The relative metric path is: Hardware Resources|Disks|dev-dm-1|% CPU Time.
Consider another example where the full metric path copied from the Metric Browser is: Application Infrastructure Performance|ECommerce Server|Individual Nodes|ECommerceAppNode|Hardware Resources|Disks|dev-dm-1|% CPU Time.
The relative metric path after truncating everything to the left of the Hardware Resources is: Hardware Resources|Disks|dev-dm-1|% CPU Time.