Azure / Azure/azure-cli

az monitor metrics alert dimension create

Open
#20,746 5 comments 0 reactions 2 assignees Claimed by @kairu-ms View on GitHub
act-observability-squad customer-reported feature-request Monitor - Metrics
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

I am trying to create a dimension as follows:

az monitor metrics alert dimension create --name ObjectName --operator Include --value "Logical Disk" --subscription $subID

When the alert is created the ObjectName creates two values "Logical" and "Disk" rather than the single value of "Logical Disk" which I want for Linux disk space

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 8da348fb-e84d-b62a-3766-454a36b160c7
* Version Independent ID: 8e2a148c-f315-445e-0990-47acb1f2d492
* Content: [az monitor metrics alert dimension](https://docs.microsoft.com/en-us/cli/azure/monitor/metrics/alert/dimension?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/monitor/metrics/alert/dimension.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/monitor/metrics/alert/dimension.yml)
* Service: **monitoring-and-diagnostics**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.