Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MetaQueris doesn't seem to work with InfluxDB #113

Open
stefi994 opened this issue Oct 12, 2020 · 4 comments
Open

MetaQueris doesn't seem to work with InfluxDB #113

stefi994 opened this issue Oct 12, 2020 · 4 comments

Comments

@stefi994
Copy link

stefi994 commented Oct 12, 2020

I am looking into sum of 2 queries with are from InfluxDB with are GROUP BY time(30s), fill(null) and it's grouped by devices.

I am trying to get a sum of traffic by devices and when I select query from Meta Queries I am not able to see any result on the graph. I am trying with A['alias1']+B['alias2']

Tried to find if this is supported in Meta Queries but didn't find anything.

Another thing, is it Regex supported here ? Cause I would like to make a sum of all results from one Query.

For example A['in.'] + B['out.]

@h07d0q
Copy link

h07d0q commented Oct 16, 2020

Same here. Only getting "No data" as result.
Grafana v7.2.1 (72a6c64532) - seems the problem atm

@IstvanPeter
Copy link

I get error message also.
image

@Gauravshah
Copy link
Member

grafana 7 is work in progress #104

@Shotte
Copy link

Shotte commented Apr 5, 2021

I have to apologize: after updating your plugin to the latest source and linking it to grafana (after uninstalling original plugin) everything seems to work properly. Thank you for your good work.

===
This is still an issue using Grafana v7.5.2 (ca413c612f) and inlfuxDB 1.8.4.
I get "resultByQuery.data is undefined" and query inspector announces "Loading query inspector... O" with forever circling around...

My simple queries are:

  1. SELECT last(value)-first(value) as in FROM Bezug WHERE $timeFilter
  2. SELECT last(value)-first(value) as out FROM Einspeisung WHERE $timeFilter
  3. A['out'] / B['in'] (arithmetic)

Is there any chance that you gonna fix it using influxDB? I would really appreciate this because influxDB has not really (elegant) workarounds for simple multi-measurement queries doing arithmetics.

Thankz in indvance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants