Closed nmoreaud closed 4 years ago
I added this, and saw that the data filtering is being done in zabbix connector, so I guess you can't do anything about it -_-
ctrl.events.on('data-received', function(data) { console.log(data); });
Just to be sure, do you know if I can get the datasource query options somewhere from JS ? That way I could make my own ajax request to get more data from zabbix.
I'm not quite sure if it is possible to access the internals of the datasource.
It might be possible though, that it is hidden somewhere in ctrl.datasource
or ctrl.datasourceSrv
.
Thanks
I use Zabbix-connector to get monitoring data from Zabbix. When I query triggers (alarms) without count, I get a table result with additional informations.
However, I cannot access raw results in the svg plugin (ctr.data contains filtered data). Could you please add something like a "rawData" attribute ?
Here is the JSON result of the zabbix data source query (ajax) :
Here is ctrl.data content :
If it helps I can provide you a DockerFile with Zabbix and Grafana configured.