Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard variable not getting updated dynamically #6932

Open
jeyakumar16 opened this issue Aug 23, 2024 · 0 comments
Open

Dashboard variable not getting updated dynamically #6932

jeyakumar16 opened this issue Aug 23, 2024 · 0 comments
Labels
kind/bug Something isn't working team/ui

Comments

@jeyakumar16
Copy link

jeyakumar16 commented Aug 23, 2024

About the bug

When i add start parameter to schema.tagValues() and set it to v.timeRangeStart in a dashboard variable, the dashboard variable is not getting updated in the dashboards when i switch between different time range

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

1.Create a dashboard and add a cell with any query referencing a dashboard variable for a tag
1.Create a dashboard variable using schema.tagValues()
2.Set the start parameter to v.timeRangeStart

Expected behavior:

The dashboard variable(Dropdown) should update dynamically when time range is changed

Actual behavior:

The dashboard variable(Dropdown) is only getting updated after a refresh once changing the time range selector

Visual Proof:

About your environment

-Darwin 23.5.0 arm64
-InfluxDB v2.7.7

Environment info:

Config:

Logs:

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

# 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.
@jeyakumar16 jeyakumar16 added kind/bug Something isn't working team/ui labels Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working team/ui
Projects
None yet
Development

No branches or pull requests

1 participant