-
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
UI: Enable Targets page in Querier UI #4045
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just have one question: maybe it's time to make --target
& other flags not hidden anymore? Because I think with this link in the UI we are going to inevitably get questions about what the link is for if it's nowhere to be found :s
Oh, I was not aware that it is hidden. I also agree to make this not hidden. |
Should we unhide them in a separate PR before merging this one? :P |
👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would propose to not UNHIDE them until @hitanshu-mehta project of unificating those into single endpoint
flag as planned in https://thanos.io/tip/proposals/202101_endpoint_discovery.md/ WDYT? 🤗
Otherwise LGTM!
I think it would lead to lots of questions about what is that page for and why one cannot any instructions about how to use it 🤔 |
So I guess one solution is to make targets page working but leave it out from the nav bar (similar to a hidden flag, a hidden page). So, whenever we decide to make the flag non-hidden (or we move to the This way, if anyone wants to really use it, they can use the hidden flag to point to sidecars and go directly to |
Signed-off-by: Prem Saraswat <[email protected]>
Signed-off-by: Prem Saraswat <[email protected]>
Signed-off-by: Prem Saraswat <[email protected]>
I have rebased this and made the Targets page hidden from Navbar (one can manually go to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
Signed-off-by: Prem Saraswat [email protected]
Changes
globalUrl
in proto, which was used in the UITargets
page to the Querier nav barVerification
The
json
response format of Querier API matches with the response from Prometheus API.