influxdata / influxdata/ui

Error in Dashboard with specific cell

Open
#6,873 0 comments 0 reactions 0 assignees View on GitHub
kind/bug team/ui
Dominant language
TypeScript
Stars
117
Forks
51
Avg merge
2d 15h
Merged PRs (30d)
4

Description

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:**
2. 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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the saved Flux query in a dashboard cell, comparing the failing display with the working simple Table element. Use the dashboard and Flux Editor entry points mentioned in the report; done means the query result renders in the intended dashboard visualization without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.