influxdata / ui

UI for InfluxDB
89 stars 41 forks source link

Error in Dashboard with specific cell #6873

Open martint17r opened 3 months ago

martint17r commented 3 months ago

I created this query in the Flux Editor:

from(bucket: "s10s")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "txs")
  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)
  |> pivot(rowKey:["_time","good"], columnKey:["_field"], valueColumn:"_value")
  |> yield(name: "last")

and use a simple table to display the result. Everything worked as expected - see screenshot:

Bildschirmfoto 2024-03-19 um 19 37 08

Using a Table element works - but is not the output I am looking for

About the bug

Steps to reproduce: List the minimal actions needed to reproduce the behavior.

  1. Save the above mentioned query to a dashboard

Expected behavior: Table is displayed

Actual behavior:

  1. The following error occurs: Bildschirmfoto 2024-03-19 um 19 38 04

About your environment

Environment info:

Config:


INFLUXD_CONFIG_PATH=/etc/influxdb/config.toml
INFLUXD_HTTP_BIND_ADDRESS=172.XX.XX.XX:8086