-
Notifications
You must be signed in to change notification settings - Fork 871
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
[BUG] TSVB auto-refresh is ignoring changes to filters #4487
Comments
@wbeckler When you say deselect a metric, what specific user action are you referring to? Just trying to see if I can repro |
metrics.reappearing.movGo 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. |
Was able to reproduce this issue. The problem is when we select a field by clicking from the legend, the auto refresh request is supposed to send with param 'hidden:true' so the data field can be hidden, but it is still sent with 'hidden: false'. That's why those de-selected data fields will appear again. A workaround: instead of clicking on the legend to select and hide the fields, cx can use the 'temporarily disabled button' to hide data fields. This still works with auto-refresh turned on and the requests are sending with the correct param 'hidden:true'. The bug only persists in 2.x versions, it works fine in 1.x versions. |
Hi, I'm a very active OpenSearch user and this problem has been a headache for my organization. @abbyhu2000 While you guys are working on the final solution, could you give me more details about the workaround? I don't quite understand the explanation you gave. Thank you very much. |
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
The text was updated successfully, but these errors were encountered: