Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Plugin not working with Grafana => 6.7 #71

Closed
simonc6372 opened this issue Jun 1, 2020 · 2 comments · Fixed by #73
Closed

Plugin not working with Grafana => 6.7 #71

simonc6372 opened this issue Jun 1, 2020 · 2 comments · Fixed by #73
Assignees

Comments

@simonc6372
Copy link

Hi,
The plugin needs some updating to work with Grafana version of 6.7 or higher as at the moment it does not work at all.
The error message is "err.headers is not a function"

Thanks.

@ghost
Copy link

ghost commented Jun 4, 2020

Hi, to be more specific, this is the Query Inspector that generates the message "err.headers is not a function" when there is an error during the execution of a query instead of displaying the Warpscript error message.

Bottom line: debugging a Warpscript query in grafana 7.0 is made almost impossible without the correct feedback.

@aurrelhebert aurrelhebert self-assigned this Jun 11, 2020
@aurrelhebert
Copy link
Contributor

Hello @simonc6372,
To fix this behavior, I am now forcing a content-type in Warp10 queries. In addition with setting the parameter x_content_type_options to false in the Grafana setting, the Warp10 data source will be now working fine with the Grafana 7 version.
Thanks for this issue.

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

Successfully merging a pull request may close this issue.

2 participants