Azure Monitor Datasource shows "Available Memory Bytes (Preview)" occasionally

  • What Grafana version and what operating system are you using?

Grafana v7.5.7 (91de51771c)

  • What are you trying to achieve?

Monitor memory usage for azure scale sets via Azure Monitor datasource

  • How are you trying to achieve it?

Via Available Memory Bytes (Preview) metric

  • What happened?

The available memory bytes option is available for short bursts and then it goes away and I get the error provided below.

  • What did you expect to happen?

Memory graph to display available memory

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

          "metricDefinition": "Microsoft.Compute/virtualMachineScaleSets",
          "metricName": "Available Memory Bytes",
          "metricNamespace": "Microsoft.Compute/virtualMachineScaleSets",
          "resourceGroup": "*-runner",
          "resourceName": "*-vmss-runner",
          "timeGrain": "auto",
          "timeGrains": [
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

request failed, status: 400 Failed to find metric configuration for provider: Microsoft.Compute, resource Type: virtualMachineScaleSets, metric: Available Memory Bytes, Valid metrics: Percentage CPU,Network In,Network Out,Disk Read Bytes,Disk Write Bytes,Disk Read Operations/Sec,Disk Write Operations/Sec,CPU Credits Remaining,CPU Credits Consumed,Data Disk Read Bytes/sec,Data Disk Write Bytes/sec,Data Disk Read Operations/Sec,Data Disk Write Operations/Sec,Data Disk Queue Depth,Data Disk Bandwidth Consumed Percentage,Data Disk IOPS Co

Here is a screen shot of how is looks until I occasionally get the error above