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
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ For metric definitions and further details, refer to [Monitoring load balancer d
44
44
## CLI examples for Load Balancer metrics
45
45
<!-- Introduction paragraph -->
46
46
47
-
The [az monitor metrics](/cli/azure/monitor/metrics) command is used to view Azure resource metrics. To see the metric definitions available for a Standard Load Balancer, you run the `az monitor metrics list-definitions` command.
47
+
The [az monitor metrics](/cli/azure/monitor/metrics/) command is used to view Azure resource metrics. To see the metric definitions available for a Standard Load Balancer, you run the `az monitor metrics list-definitions` command.
48
48
49
49
```azurecli
50
50
# Display available metric definitions for a Standard Load Balancer resource
@@ -54,9 +54,7 @@ az monitor metrics list-definitions --resource <resource_id>
54
54
>[!NOTE]
55
55
>In the all the following examples, replace **<resource_id>** with the unique resource id of your Standard Load Balancer.
56
56
57
-
To retrieve Standard Load Balancer metrics for a resource, you can use the [az monitor metrics](/cli/azure/monitor/metrics#az-monitor-metrics-list) command.
58
-
59
-
For example, use the `--metric DipAvailability` option to collect the Health Probe Status metric from a Standard Load Balancer.
57
+
To retrieve Standard Load Balancer metrics for a resource, you can use the `az monitor metrics list` command. For example, use the `--metric DipAvailability` option to collect the Health Probe Status metric from a Standard Load Balancer.
60
58
61
59
```azurecli
62
60
@@ -65,7 +63,7 @@ For example, use the `--metric DipAvailability` option to collect the Health Pro
65
63
az monitor metrics list --resource <resource_id> --metric DipAvailability
66
64
```
67
65
68
-
When you run the above command, the output for Health Probe status will be like to the following output:
66
+
When you run the above command, the output for Health Probe status will be like the following output:
69
67
```output
70
68
user@Azure:~$ az monitor metrics list --resource <resource_id> --metric DipAvailability
0 commit comments