Skip to content

Commit e3122b9

Browse files
committed
Updates
1 parent 23e2208 commit e3122b9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

articles/load-balancer/load-balancer-monitor-metrics-cli.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ Complete reference documentation and other samples for retrieving metrics using
2424

2525
## Table of metric names via CLI
2626

27-
When using CLI, Load Balancer metrics may use a different metric name. When specifying the metric name via the `--metric dimension`, please use the CLI metric name equivalent instead.
27+
When you use CLI, Load Balancer metrics may use a different metric name for the CLI parameter value. When specifying the metric name via the `--metric dimension` parameter, use the CLI metric name instead. For example, the metric Data path availability would be used by specifying a parameter of `--metric VipAvaialbility`.
28+
29+
Here's a table of common Load Balancer metrics, the CLI metric name, and recommend aggregation values for queries:
2830

2931
|Metric|CLI metric name|Recommended aggregation|
3032
|-----------------|-----------------|-----------------|
@@ -123,7 +125,7 @@ az monitor metrics list --resource <ResourceName> --metric DipAvailability --sta
123125
>Start and end times are represented using a format of yyyy-mm-dd format. For example, every day between May 5, 2022 and May 10, 2022 would be represented as `2022-05-01` and `2022-05-10`.
124126
125127

126-
To split metrics on a dimension, such as “BackendIPAddress”, specify the dimension in the `--filter` flag. Dimensions of a metric are name/value pairs that carry additional data to describe the metric value. To learn more about which dimensions are supported for each metric, see [Monitoring load balancer data reference](./monitor-load-balancer-reference.md).
128+
To split metrics on a dimension, such as “BackendIPAddress”, specify the dimension in the `--filter` flag. Dimensions of a metric are name/value pairs that include more data to describe the metric value. To learn more about which dimensions are supported for each metric, see [Monitoring load balancer data reference](./monitor-load-balancer-reference.md).
127129

128130
```azurecli
129131
# List average Health Probe Status metric and filter for all BackendIPAddress dimensions
@@ -139,7 +141,7 @@ You can also specify a specific dimension value.
139141
az monitor metrics list --resource <ResourceName> --metric DipAvailability --filter “BackendIPAddress eq ’10.1.0.4’” –aggregation Average
140142
```
141143

142-
In cases where you need to filter on multiple dimension values, specify the --filter value using `and` between the values.
144+
In cases where you need to filter on multiple dimension values, specify the `--filter` value using `and` between the values.
143145

144146
```azurecli
145147
# List average Health Probe Status metric and filter for all BackendIPAddress and BackendPort dimensions

0 commit comments

Comments
 (0)