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

Not working on 8.3.1 #139

Closed
yggdrasil-tynor opened this issue Dec 8, 2021 · 19 comments
Closed

Not working on 8.3.1 #139

yggdrasil-tynor opened this issue Dec 8, 2021 · 19 comments

Comments

@yggdrasil-tynor
Copy link

metaqueries doesn't work on Grafana 8.3.1 even when adding: allow_loading_unsigned_plugins = grafana-meta-queries. Nothing in the logs.

@acederlund
Copy link

I have the same issue, this is from our log file:
lvl=warn msg="Skipping loading plugin due to problem with signature" logger=plugin.loader pluginID=goshposh-metaqueries-datasource status=unsigned

I did the same with "allow_loading_unsigned_plugins", so I guess it is signed, but there is a problem with the signature.

@yggdrasil-tynor
Copy link
Author

@acederlund Strange, that it works when downgrading to 8.2.2. So something must have changed in the grafana upstream?

@jhuebner79
Copy link

This project is dead, isn't it?

@yggdrasil-tynor
Copy link
Author

Works fine with grafana 8.2.2 :)

@jhuebner79
Copy link

That doesn't help much - we're not going to downgrade, so: not a real solution :)

@Antartic0
Copy link

Any update?
I was able to make grafana accept the unsigned plugin but it does not work:

lvl=info msg="Plugin registered" logger=plugin.manager pluginId=goshposh-metaqueries-datasource
lvl=warn msg="Permitting unsigned plugin. This is not recommended" logger=plugin.signature.validator pluginID=goshposh-metaqueries-datasource pluginDir=/var/lib/grafana/plugins/goshposh-metaqueries-datasource

But the plugin is not working with this error:
MetaQueries: Datasource [object Object] was not found

@yggdrasil-tynor
Copy link
Author

It works with grafana <= 8.2.2. Something upstream broke the integration.

@Ook3000
Copy link

Ook3000 commented Jan 18, 2022

It works with grafana <= 8.2.2. Something upstream broke the integration.

But will it be fixed to work afain in Releases > 8.2.2?

@yggdrasil-tynor
Copy link
Author

It works with grafana <= 8.2.2. Something upstream broke the integration.

But will it be fixed to work afain in Releases > 8.2.2?

If somebody submits a PR :)

@geryepes
Copy link

geryepes commented Jan 27, 2022

@yggdrasil-tynor This PR #141 can help you

@bene86
Copy link

bene86 commented Jan 28, 2022

I tried the fix, but for me it is not properly working. I have to say I'm not an expert in Grafana. I use 8.3.2.
I never had meta-queries propoerly working, I would like to have it for the timeshift functionality.
I tried to set it up according to the docs. Before the fix, as soon as I added any MetaQueries datasource to my panel, it showed only "No data". After the fix, I can add a MetaQueries as second datasource (B) and with "arithmetic" I still see the original data but not the newly calculated data. With "movingAverage" and "TimeShift" I get again No data.
Any ideas, what could be wrong?

@Gauravshah
Copy link
Member

@bene86 can you send a screenshot of your dashbaord settings, very likely your panel datasource is not set to metaqueires

@bene86
Copy link

bene86 commented Jan 29, 2022

Attached are two screenshots, one for "Arithmetic" one for "Timeshift" (which is what I want)
Original data comes from an influxdb datasource

image
image

@bene86
Copy link

bene86 commented Feb 3, 2022

any usefull hint on the queries? did I set some wrong settings?

@Gauravshah
Copy link
Member

Gauravshah commented Feb 4, 2022 via email

@bene86
Copy link

bene86 commented Feb 4, 2022

Unfortunately, doesn't help. There is not metric text box for the Arithmetic type and if I type either "Pac" or "sdf" for the TimeShift type, it does not change at all:
image

@appcoders
Copy link

appcoders commented Feb 12, 2022

Same here on TimeShift:
runRequest.ts:146 runRequest.catchError TypeError: Cannot read properties of undefined (reading '0')
at filter_datapoints (datasource.js:384:56)
at eval (datasource.js:145:27)

@yggdrasil-tynor
Copy link
Author

Seems this was merged in: #128

Now we just need a new release and push to grafana plugins lib :)

@ShilpaSivanesan
Copy link
Contributor

ShilpaSivanesan commented Mar 3, 2022

Fix for the issue #141

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

10 participants