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

Query inspector is not working #1097

Closed
sirbavo opened this issue Nov 19, 2020 · 1 comment
Closed

Query inspector is not working #1097

sirbavo opened this issue Nov 19, 2020 · 1 comment

Comments

@sirbavo
Copy link

sirbavo commented Nov 19, 2020

Describe the bug
Open the query inspector from a panel (Panel -> Inspect -> Query -> Refresh) or from the Explore menu. Since 7.2.0 it does not show any result from this plugin.

Example

Network data
The query in the background runs succesfully, the response from the Zabbix API is good.

Related change in Grafana
grafana/grafana@a49daf5

./public/app/core/services/backend_srv.ts

if (options.hideFromInspector === undefined) {
  // Hide all local non data query calls
  options.hideFromInspector = isLocalUrl(options.url) && !isDataQuery(options.url);
}

In the Zabbix plugin request hideFromInspector is undefined and the result of the condition body is also true, so Grafana hides the query result.

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
7.2.0+ - 4.0.2
@alexanderzobnin
Copy link
Collaborator

Good catch, @sirbavo!

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

2 participants