Azure CLI Monitor Metrics
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
Hi!
I'm playing around with the Azure CLI monitor command, to try and retrieve some values from certain metrics.
In this, case, I want the "NormalizedRUConsumption" from a CosmosDB container/collection, within a certain timeframe.
My issue here is:
- If I don't specifiy "--end-date", it doesn't default to "Now" as the end of the timeframe. Trying to get 1 month of values, in 1H interval. Is there any restrain like a maximum set size?
- Got the values in a 1 day time frame, and they "kinda" correspond to what I see in the Azure Portal dashboard Metrics blade, but the
"timeStamp" doesn't quite correspond to the observed. There's a somewhat 1 hour difference between them.
I'm new to all these commands, and it's too much information that needs be known, I may be lacking some information as to how all this work/connects.
Thank you for your time!
#### Document Details
⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*
* ID: 811a2d68-f0d9-5c71-b370-60995b271bc4
* Version Independent ID: 965ae9c0-9c39-8a44-9083-11f542d04099
* Content: [az monitor](https://learn.microsoft.com/en-us/cli/azure/monitor?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/monitor.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/monitor.yml)
* Service: **monitoring-and-diagnostics**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**
Contributor guide
Assessment
This issue has not been assessed yet.