-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Query/UI: state is shared between panels #2578
Comments
When we click on execute, params for this query are loaded here, which goes on to check the localStorage value of |
That's probably a good to solve it. 👍 Also, perhaps it would be worth checking if upstream Prometheus has the same issue and if the new UI has it too? I haven't checked myself. Then, we could fix this there and everyone would benefit, not just Thanos. |
Thanks for the suggestion. I will look if Prometheus has the same issue. |
We had issue in this file. So, I looked at relevant prometheus source code here.
In contrast to the above, prometheus index.js used localStorage for only |
Deduplication / partial responses set a variable that is shared between two or more panels even though the button elements are separate and nearby each of the panels.
Thanos, Prometheus and Golang version used:
thanos, version 0.12.2 (branch: HEAD, revision: c21b548)
build user: gstatkevicius@gstatkevicius-desktop
build date: 20200508-15:45:24
go version: go1.14.2
Object Storage Provider:
N/A
What happened:
Thanos Query sends HTTP requests with incorrect parameters.
What you expected to happen:
Thanos Query executes HTTP requests with parameters that are set near to the query.
How to reproduce it (as minimally and precisely as possible):
Add two or more panels. Select differing options on each panel. Click "Execute". Watch that parameters are set according to the last modification, not what they actually are near to the panel.
In this case, I have disabled "Partial Response" on the second panel but it got applied to first one as well as you can see in the screenshot.
The text was updated successfully, but these errors were encountered: