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

can't query influx: this.influxDS._seriesQuery(...).then is not a function #1255

Closed
ramon-roca opened this issue Aug 5, 2021 · 10 comments
Closed

Comments

@ramon-roca
Copy link

ramon-roca commented Aug 5, 2021

Just installed Zabbix 5.0 TLS, grafana 8.0.6, zabbix plugin 4.1.5, Direct DB to influx (1.8.7) with effluence-0.1 on ubuntu 20.04 TLS.
History is being exported to Influx DB, but getting error on all queries to metrics:

 "this.influxDS._seriesQuery(...).then is not a function" 

querying directly from grafana to influx data source, works.

@i-ky
Copy link

i-ky commented Aug 5, 2021

This may be a duplicate of #1221.

@ramon-roca
Copy link
Author

#1221 suggests downgrade to grafana 7.5 as a workaround. I did but problem persists. Disabling Direct DB works, but we're planning intensive graphing on large number of items, and long history.

May I help providing more trace?

@alexanderzobnin
Copy link
Collaborator

@ramon-roca can you test is against plugin version 4.2.1 and confirm that problem exists/solved?

@ramon-roca
Copy link
Author

@ramon-roca can you test is against plugin version 4.2.1 and confirm that problem exists/solve

thanks, @alexanderzobnin
upgraded to 4.2.1 but no luck, still reproducing with a simple query:
image

@julienleboeuf
Copy link

I confirm, I have the same problem since months ago, and was stuck with grafana 7.3
Still the same with grafana 8.1.1 and plugin 4.2.1 (with InfluQL & InfluxDB 1.8.4)

@julienleboeuf
Copy link

Still no news ?
I guess I'll have to discard directdb+influxdb and switch to postgresql/timescaledb

@dimsua
Copy link

dimsua commented May 19, 2022

still not work, innodb direct connection deprecated?

@pyite
Copy link

pyite commented Aug 30, 2022

I am having the same problem on 7.x. IIRC, I tried 8.x and also had no luck.

If I build a query in InfluxDB and use the Influx plugin directly, it is like 1000x faster than the MySQL direct DB query... so I am highly motivated to make this work.

Unfortunately, the query inspector icon just spins so it's difficult to see exactly what the Zabbix module is trying to do.

Any idea what to try next? A few months ago I tried building the module myself to debug and traced the code deep into one of the libraries but didn't have time to finish debugging. It wasn't a very fun process due to the security changes and code signing requirements.

@alexanderzobnin
Copy link
Collaborator

Hi! Here's a linux build with a fix. Please, try to test it out and confirm that issue is fixed.
alexanderzobnin-zabbix-app-4.3.0-pre.zip

@alexanderzobnin alexanderzobnin modified the milestones: 4.3, 4.2.10 Sep 1, 2022
@pyite
Copy link

pyite commented Sep 1, 2022

This fix works for me, thank you!!

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

No branches or pull requests

6 participants