I’m using Grafana 6.2.4 (the docker version) with influxdb database. I’m building a dynamic dashboard with repeating panels based on a variable named “slave”. The slave variable is generated from an influxdb query and generates a list of hosts that provide data:
SHOW TAG VALUES from $measurement_type WITH KEY = "slave"; ($measurement_type is a similar variable, but is not multi-value in the dashboard).
My measurements have other tags as well (such as the location of the host that generates the data), which I can get with:
show tag values from $measurement_type with key in ("location") where slave = '$slave';.
I have created a title such as:
$measurement_type on $slave ($location). This works correctly when I select a single slave from the dropdown, but when I select multiple slaves I get:
DNS on IQ-01-lan (None) DNS on IQ-02-lan (None) DNS on IQ-03-lan (None)
All variables are set to refresh on dashboard load.
Ideally, instead of None I’d like to see the location of each slave.
Am I on the right track? Any ideas what I’m doing wrong?