influxdata / influxdata/ui

Turning off graph smoothing causes cloud web ui to stop working.

Open
#6,974 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

## About the bug

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

1. Create a basic query in data explorer
2. Run. All works fine.
3. Turn off graph smoothing. Usually runs OK once.
4. Run query again. Error occurs and you need to reload page.

**Expected behavior:**
Turning off graph smoothing shouldn't cause an error after multiple runs.

**Actual behavior:**
Turning off graph smoothing causes an error after when you try to run query again.

## About your environment

InfluxDB cloud trial

**Config:**

**Logs:**

**Performance:**
Generate profiles with the following commands for bugs related to performance, locking, out of memory (OOM), etc.

```sh
# Commands should be run when the bug is actively.
# Note: This command will run for at least 30 seconds.
curl -o profiles.tar.gz "http://localhost:8086/debug/pprof/all?cpu=true"
curl -o vars.txt "http://localhost:8086/debug/vars"
iostat -xd 1 30 > iostat.txt
# Attach the `profiles.tar.gz`, `vars.txt`, and `iostat.txt` output files.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the cloud web UI's Data Explorer and reproduce the failure by running a query, disabling graph smoothing, and running it again. Use the resulting error to locate the affected graph-smoothing entry point; done means repeated runs complete without requiring a page reload.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.