Azure Monitor | all VMs within a RG

  • What Grafana version and what operating system are you using? Latest, in AKS (Linux)

  • What are you trying to achieve? I would like to see All VMs (current ones and new ones in the future) under one query, to create an alert, because VMs are generated adhoc by Databricks. I need to use “Metrics”, not “Logs”, so cannot use KQL. This is because there’s no enabled Agent on DiagnosticSettings on VMs, however the basic metrics should be possible to have, and it is, but I can only have existing one. I would like to have a possibility that there is in Azure Portal

In Portal it’s:
Avg Percentage CPU for SUBSCRIPTION in West Europe region by ResourceId where ResourceGroupName = ‘RG1’, ‘RG2’

Or in general
Scope: subscription/rg1/rg2. Metric Namespace / Resource types: Virtual Machines. Filter: ResourceGroup: RG1, RG2.

In Grafana I cannot set RG, Im forced to choose Resource and any asteriks doesnt work. Is it somehow possible to achieve such behavior?

  • How are you trying to achieve it? I was checking all options, even using ARG on Dashboard Variables, but as Im forced to use Metrics (not Logs/Traces), then cannot use anything.
    In the end I need this for Alerts.

  • What happened? Im forced to choose Resource

  • What did you expect to happen? I would like to be able to choose Resource Group and entire type, not exactly resource name

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were. No errors

  • Did you follow any online instructions? If so, what is the URL? I was trying everything that I found :smiley: