Metaqueries plugin not working with grafana grafana-9.4.3-1

  • What Grafana version and what operating system are you using?
    grafana-9.4.3-1.x86_64 , centos 6

  • What are you trying to achieve?
    display on the same timeseries dashboard :

  • a metric from elasticsearch
  • the same metric with a timeshift -1d ( yesterday )
  • How are you trying to achieve it?
    the only solution I found is using metaqueries plugin
  • Data souce : Metaqueries
  • A : first serie is a query with datasource elastic search
  • B : second serie is a query with datasource metaqueries : doing a timeshift -1day from serie A
  • What happened?
    worked well until I upgraded from grafana-9.3.6-1.x86_64 to grafana-9.4.3-1.x86_64 , now I have a blank window with error message (see below )

  • 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.
    now the window errors with “root_query_results.data[0].datapoints is undefined”
    ( message on the top left corner )

Thanks for your support !
Best regards, Oleg

Hello
For information I have opened an issue to meta-queries github : metaqueries broken with grafana-9.4.3-1? ¡ Issue #157 ¡ GoshPosh/grafana-meta-queries ¡ GitHub
Seem the plugin doesn’t work at all.
Oleg

I’m on the same boat. This plugin is dead. Have you found an alternative?

best option is to clone it and build it and troubleshoot locally.

what does this mean in the README

On the top right corner, Click on Add query. Select the desired data source and specify the query as desired (add a few more).

I am not seeing this Add query

Unfortunately no alternative found :frowning:

I think you need to click on +Query at the bottom
image

1 Like

Maybe try to Git fork it and fix it yourself?

1 Like

I found out we were using MetaQueries to simply check if a value was undefined and do some calculations… I was able to replace that with Grafana’s own transformations.

what was the datasource you were using and which transformation helped you ?

Hi guys, you can use the latest version 2.0.1 with comparison support, it’s construct with React framework, and compatible with Grafana 9、10、11.

Details can refer to the github repo, welcome to use and star :smile: