Hello all,
I am using the Zabbix data source. I am using this Zabbix data for the bar chart, and I am using multiple queries to build multiple bars on the chart. Unfortunately, I am unable to change the display name for the different bars
Can you display the output here in table format (.csv if possible)? Have you tried working through the different transformations that Grafana offers? Sometimes you need to ‘stack’ several in order to achieve your desired result.
Well, when things are “Working as Intended” there’s some global variables for it, you should add a Function of setAlias() and add the $__zbx_host_name to it. It’ll be setAlias($__zbx_host_name) after your function of aggregateBy(1d, avg)
Please, try to focus a little more… I’ll try to summarize what I said on the other post:
1 - When you use Zabbix’s Plugin Functions like aggregateBy() it substitutes the default Item Metric name
2 - The Zabbix Plugin’s Functions provides the $__zbx_host_name to be used on setAlias() function to correct the change from other Functions
3 - The provided solution from Zabbix Plugin’s Functions seems to be bugged, and a Bug Report was already filled
I don’t see any other ways to help in your case, since the “right answer” is clouded by a Software Bug.