GoshPosh / grafana-meta-queries

Grafana plugin for calculating time period metrics like week over week, month over month and year over year etc.
Apache License 2.0
284 stars 71 forks source link

Metaqueries doesn't work on Grafana 7.4.0 #124

Open hhmob opened 3 years ago

hhmob commented 3 years ago

I got error like "Cannot read property 'length' of undefined" on grafana 7.4.0, but it worked on 7.3.4.

my panel config:

image

Gauravshah commented 3 years ago

this one looks related to angular upgrade done on grafana side.

xpatos commented 3 years ago

Any estimate when this could be fixed?

WideLee commented 3 years ago

Same here, grafana 7.4.3 and plugin version 0.0.5

xpatos commented 3 years ago

I just tried 0.0.5 with an Elastic data source, and it still shows "Cannot read property 'forEach' of undefined" and the timeshift graph is not displayed.

earth08 commented 3 years ago

I tried with influxdb. Grafana 7.4.5 installed. It doesn't work on it.

muppet3000 commented 3 years ago

Looks like I'm experiencing the same issue as everyone else has mentioned here: Grafana version: 7.4.2 (haven't tested with an upgrade - happy to try if someone thinks it will work)

I've never used the plugin before but I've been trying to to what I thought was a very simple A-B style operation, I can't even get it to work with a simple test (shown below).

If I'm doing something wrong please let me know, alternatively, if someone knows when there's likely to be a fix I'd really appreciate an update.

image

gtankovics commented 3 years ago

in 7.5.2 there's a feature Expressions. Probably it can help/solve issues.

muppet3000 commented 3 years ago

Thanks, I discovered that shortly after posting, it will solve some of my "simpler" needs but the example I gave above was just a trivial example. Would be nice to see this plugin properly working though.

Antartic0 commented 2 years ago

I am in the same situation. In grafana version 8.3.3 I can't use the plugin to compare with previous states. I don't see the datasource even though it is installed. Captura de pantalla 2021-12-22 a las 11 25 03

erachenko23 commented 2 years ago

Grafana v7.5.10 (e72061a129) Elasticsearch Data Source

image

No any data from MetaQueries datasource

Gauravshah commented 2 years ago

@erachenko23 your panel source is mixed you need to change it to metaqueries

asaf400 commented 1 year ago

https://github.com/GoshPosh/grafana-meta-queries/issues/155