knightss27 / grafana-network-weathermap

A fully featured and customizable network weathermap plugin for Grafana (9.0+).
https://grafana.com/grafana/plugins/knightss27-weathermap-panel/
Apache License 2.0
139 stars 7 forks source link

Links Side Query not working #7

Closed Miccia94 closed 2 years ago

Miccia94 commented 2 years ago

Hello,

After some time Side Query stop working. I cannot no more select the correct query and only wide option is shown. image

knightss27 commented 2 years ago

Is this for all links? and would you mind also posting a screenshot of the query you are using in Grafana? (from the bottom of the edit page).

If you can find any way to reproduce this please let me know.

Miccia94 commented 2 years ago

Hello,

Yes, this is happening for all links. I'm using Zabbix Metrics as query. This happening as soon as i add a second query to Grafana.

image image

I tried already with wildcards in metric but is still give me wide as only option

image

knightss27 commented 2 years ago

Yes, I think this is related to https://github.com/alexanderzobnin/grafana-zabbix/issues/1341.

The weathermap plugin doesn't support "wide" data formats (where each column is a new time, and each row a new query response), which it seems the Zabbix data source likes to do by default when you have multiple queries for one panel. Thus instead of the weathermap seeing multiple queries, it just sees one as it does not know how to interpret the data.

Could you try disabling the "data alignment" option for the Zabbix data source (you can see how to do it here: https://alexanderzobnin.github.io/grafana-zabbix/configuration/) and let me know what happens.

Otherwise, this may be more of a Zabbix datasource specific issue than one I can fix.

Miccia94 commented 2 years ago

Hello,

Disabling data alignment in the metric query seems to fix the issue.

Thanks

knightss27 commented 2 years ago

Great! Glad I could help.