MetaQuery not returning a value

Grafana novice here, feeling my way through things.

I’m trying to subtract the result of one query from another (each a single stat), using the MetaQuery plugin. As per the screenshots below, each query (A and B) returns a result (“_value”) but when I try to subtract B from A (A[‘_value’] - B[‘_value’]) I don’t get a result. I assume my syntax in the MetaQuery expression is incorrect, but I’m not sure how. I would appreciate any help!

  • What Grafana version and what operating system are you using? 9.3.2 (Docker), Windows !!

  • What are you trying to achieve? subtract one query result (single stat) from another

  • How are you trying to achieve it? MetaQueries plugin

  • What happened? Returns blank result

  • What did you expect to happen? a value for A minus B

  • 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?