influx_series.ts
4.67 KB
-
influxdb: Check before assuming first column to be 'time' · e3dbef75
When running queries like 'SHOW [...] CARDINALITY' introduced with InfluxDB 1.4 there is only a single column 'count'. However, the data source always assumed 'time' which threw an error because the code couldn't find a non-time column to display. This change actually checks this assumption and thereby fixes displaying the result in a Singlestat in Table mode (closes #11476).
Jonas Hahnfeld committed