This is going to be epic! :muscle: We just had an amazing hour-long UI-focused community call with @d-ulyanov @adrien-f @geobeau @vankop Thanks All for joining!
I am still impressed by the quick response on our call for UI hero initiative :heart: So many heroes! :muscle:
Meetings Notes ended up to be Thanos UI Design Doc, where we discussed goals, requirements and action plan for future of UI in Thanos. This issue is to track those. Everyone else: Please review, comment and give the feedback on this! Especially @thanos-io/thanos-maintainers ((: @juliusv your opinion would be nice as well :+1:
This is the current action plan. Please comment on this issue if you want to work on this! :hugs: I will update this description with up-to-date info!
ping @kyoto Thanos needs help upstream in terms of frontend work. Maybe this is something we could help here? :-)
I can add tests, fix bugs in terms of scaling if any..
As a plan for tests:
Some things are special only for Thanos. E.g. for Prometheus it's rarely the case you have billions of metric names. In Thanos, we can have easily.
Open question: Would Prometheus accept a PR to improve this, even scale is lower on Prometheus side? @juliusv
I think it depends on how Thanos-specific that gets, and how much of a maintenance burden that feature would be.
Hey @bwplotka , I am interested in working on this issue for GSoC. I have setted up thanos on my local. Any suggestions or guidelines I need to know to get started.
@juliusv @adrien-f at some point you said that React version of Prometheus is still in development, so we should wait until more stable. @juliusv is this the case now? (:
We proposed this as our GSoC project as well with main mentor being @squat and me.
@kushthedude please follow GSoC procedure to apply.
@bwplotka There's still stuff happening (additions and cleanups), but the new React UI is getting pretty settled. So this at least shouldn't stop this.
Hi, I am a GSOC applicant and would love to work on this issue, I've worked a lot in react and can also reuse Prometheus UI code, just a need mentors to guide and command me.
GSoC proposal was done, so hopefully, we will have someone full time on this: https://github.com/cncf/soc#enriching-and-extending-thanos-uis-with-react-for-awesome-user-experience
Also please share the doc linked here in your countries and universities so we have diverse proposals. :hugs:
okay, I'll share it.
Thanks
This issue/PR has been automatically marked as stale because it has not had recent activity. Please comment on status otherwise the issue will be closed in a week. Thank you for your contributions.
@prmsrswt is on it (:
Some small observations after the initial import in https://github.com/thanos-io/thanos/pull/2412 have been merged.
I think we should work on these in the "old" UI:
Ideally, these two would be done before the next release. This would be a nice thing but only if you want to do: https://github.com/thanos-io/thanos/issues/2578.
I think we should work on these next in the "new" UI:
As @adrien-f said before:
The goal is to be able to just copy paste the source from upstream and let the Thanos directory do the rest to ease upgrades.
null hence the page errors out and is blank but we should handle this case;/api/v1/stores endpoint.I also have one response to @bwplotka 's concern in the original post:
Make sure it works for scale cases. (a large number of labels). UI should not lag.
Actually, the new UI has this code:
{matches
.slice(0, 100) // Limit DOM rendering to 100 results, as DOM rendering is sloooow.
.map(({ original, string: text }) => {
So it shouldn't lag. We could still improve the API itself to support pagination but at least the new UI won't try to show potentially thousands of metrics.
Edit: also found this small bug https://github.com/prometheus/prometheus/issues/7241 upstream :P
Hello 馃憢 Looks like there was no activity on this issue for last 30 days.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 馃
If there will be no activity for next week, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.
This is in quite heavy progress! Do you mind @prmsrswt to share some update at some point (: Maybe there is someone interested in the progress :hugs:
Yeah sure :)
We are steadily making progress in this front. Some of the work done till now includes
/graph endpoint working. Thanks to @adrien-f :tada: (#2412)/stores page is in review. You can track it's progress (and maybe help in review :smiley:) here #2754There were many small but important improvements too, for example we fixed the UI to work with --web.route-prefix and now we have an e2e test for it too.
Also, there's so much more in the store. Some immediate goals we are working towards are, having a Configuration page, where you can see the cli flags and values of various configuration files, and writing some e2e tests for --web.external-prefix as well, so we don't break them in future (hopefully).
Hello 馃憢 Looks like there was no activity on this issue for last 30 days.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 馃
If there will be no activity for next week, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.
Guess this calls for another status update. :wink:
Hello 馃憢 Looks like there was no activity on this issue for last 30 days.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 馃
If there will be no activity for next week, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.
Closing for now as promised, let us know if you need this to be reopened! 馃
Hoping this is still in progress? Looking forward to the new block/bucket viewer.
@bgilmore Yes, it is.
The new block viewer already got merged and made it's way to the latest release. If you are on Thanos v0.15.0 you can try it out. It should already be on feature parity with the old block viewer and it has some additional improvements as well.
A few things we are planning to add in the block viewer in the future:
@bgilmore Yes, it is.
The new block viewer already got merged and made it's way to the latest release. If you are on Thanos v0.15.0 you can try it out. It should already be on feature parity with the old block viewer and it has some additional improvements as well.
A few things we are planning to add in the block viewer in the future:
- Details about the block and index size
- Showing if a block is marked for deletion or not.
- Allowing some actions from the UI itself, like marking for deletion, downloading meta.json, etc.
Hey @prmsrswt @bwplotka, I'd like to work on this (ref: #3112) for the Community Bridge program. Can you point me towards the plans we have for the UI changes to be made? Discussions/Docs/Notes, anything would help. Thanks!
Most helpful comment
@bwplotka There's still stuff happening (additions and cleanups), but the new React UI is getting pretty settled. So this at least shouldn't stop this.