You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/load-balancer/load-balancer-monitor-metrics-cli.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,9 @@ Complete reference documentation and other samples for retrieving metrics using
24
24
25
25
## Table of metric names via CLI
26
26
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:
@@ -123,7 +125,7 @@ az monitor metrics list --resource <ResourceName> --metric DipAvailability --sta
123
125
>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`.
124
126
125
127
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).
127
129
128
130
```azurecli
129
131
# List average Health Probe Status metric and filter for all BackendIPAddress dimensions
@@ -139,7 +141,7 @@ You can also specify a specific dimension value.
139
141
az monitor metrics list --resource <ResourceName> --metric DipAvailability --filter “BackendIPAddress eq ’10.1.0.4’” –aggregation Average
140
142
```
141
143
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.
143
145
144
146
```azurecli
145
147
# List average Health Probe Status metric and filter for all BackendIPAddress and BackendPort dimensions
0 commit comments