Using Grafana Cloud with InfluxDB, I want a bar gauge showing a count of how many devices are running each firmware version. The data comes from Telegraf. Here’s a simplified example in line format for one device:
qsys_core_info,name=QSYS001,source=10.37.155.161 version="9.8.2-2308.002" 1707874158000000000
With Prometheus, I can get the result I want using query: count by(version) (qsys_core_info)
. How can I do this in InfluxQL?
In this example there are 4 devices total.
8 posts - 3 participants