influxdata / influxdata/influxdb

After update to 2.0.6, the UI dashboard no longer auto refresh. Only manual refresh works.

Open
#21,447 6 comments 4 reactions 0 assignees View on GitHub
area/2.x area/ui wontfix
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

__Steps to reproduce:__
List the minimal actions needed to reproduce the behavior.

1. open dashboard set to 5s auto-refresh
2. wait for it
3. no fresh data, even though there are new data in the DB.

__Expected behavior:__
Every 5s the dashboard will auto-refresh with new data.

__Actual behavior:__
The time frame on the graph incremented, but without update with data. There is no new network call to update the data.

__Environment info:__

* System info: Run `uname -srm` and copy the output here
Linux 4.15.0-142-generic x86_64

* InfluxDB version: Run `influxd version` and copy the output here
InfluxDB 2.0.6 (git: 4db98b4c9a) build_date: 2021-04-29T16:48:12Z

* Other relevant environment details: Container runtime, disk info, etc

__Config:__
Copy any non-default config values here or attach the full config as a gist or file.

__Logs:__
Include snippet of errors in log.

__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 happening.
# Note: This command will run for ~30 seconds.
curl -o profiles.tar.gz "http://localhost:8086/debug/pprof/all?cpu=30s"
iostat -xd 1 30 > iostat.txt
# Attach the `profiles.tar.gz` and `iostat.txt` output files.
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the dashboard behavior described in the issue with a 5-second auto-refresh interval and new data arriving in the database. Trace the dashboard's refresh path and network activity to determine why the time range advances without a data request; done means new data appears automatically at each interval.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.