question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Monitor] Metrics lists accepts multiple comma-separated values rather than space-separated

See original GitHub issue

The azure metrics API supports multiple aggregation types e.g. average, total, minimum, maximum, etc (for more info see here). This is passed as an additional argument in the odata query string e.g. (aggregationType eq 'Total').

The az monitor metrics list command does not accept this argument, which means you’ll only get the default aggregation. This can block scenarios such as trying to find out the total number of Azure Functions executions you have via the CLI.

Environment info:

azure-cli (2.0.16)
monitor (0.0.9)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
troydaicommented, Jan 26, 2018

@paulbatum and @acabrera-rms could you guys try the latest version of Azure CLI (2.0.25). Changes were made to the metrics in 2.0.24 build.

PR: https://github.com/Azure/azure-cli/commit/9b7005681eb0c5a74feb82f276fa3b81823d3485#diff-ff5a7b93c40504879176ac7665bc2809

0reactions
tjprescottcommented, Mar 12, 2018

Whatever is supported is a function of the service, not the CLI.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Monitors - Datadog Docs
A list of unique role identifiers to define which roles are allowed to edit the monitor. The unique identifiers for all roles can...
Read more >
Azure Monitor activity log - Microsoft Learn
View the Azure Monitor activity log and send it to Azure Monitor Logs, Azure Event Hubs, and Azure Storage.
Read more >
Comma-Separated Lists - MATLAB & Simulink - MathWorks
When you type in a series of numbers separated by commas, MATLAB ® creates a comma-separated list and returns each value individually.
Read more >
How to split comma-separated values to single values with ...
A tutorial explaining how to transform delimiter-separated (like comma) values to single values with related metrics inside Google Data ...
Read more >
inputs.conf - Splunk Documentation
If not present, the receiver uses the setting in the [general] stanza of server.conf. acceptFrom = <comma- or space-separated list> * See the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found