opensearch-project / OpenSearch-Dashboards

📊 Open source visualization dashboards for OpenSearch.
https://opensearch.org/docs/latest/dashboards/index/
Apache License 2.0
1.64k stars 851 forks source link

[BUG] TSVB auto-refresh is ignoring changes to filters #4487

Open wbeckler opened 1 year ago

wbeckler commented 1 year ago

Describe the bug

When setting the refresh interval in TSVB to 5 seconds, and then when de-selecting the different count aggregations or data metrics that are shown on the graph, the refresh interval automatically re-selects them upon refresh. The refresher is wiping out changes to the selected metrics

To Reproduce Steps to reproduce the behavior: Create a TSVB visualization with multiple metrics. Activate 5-second refresh interval. Deselect a metric. When refresh happens, metric gets re-selected.

OpenSearch Version 2.5

Dashboards Version 2.5

Host/Environment (please complete the following information): Managed service

virajsanghvi commented 4 months ago

@wbeckler When you say deselect a metric, what specific user action are you referring to? Just trying to see if I can repro

wbeckler commented 4 months ago

https://github.com/opensearch-project/OpenSearch-Dashboards/assets/3864750/07c2ea22-8e97-49b2-9db7-e3744ef8f7e9

Go to Ecommerce dashboard, set refresh to a short interval (recording is 5 seconds), click on series names in the legend of the multiline chart to disable a series.