Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upImprove Prometheus UI Target page by hiding empty fields / or by reverting back to dynamic alignment. #3972
Comments
This comment has been minimized.
This comment has been minimized.
|
I worked on the PR that was supposed to make this situation better, and am happy to pick this up again :) I am not a design wiz either, but the UX designer I work with has expressed interest in helping out with things like this! I'll talk to her and circle back here. I'm sure a few small changes will go a long way in this case. |
This comment has been minimized.
This comment has been minimized.
|
@Bplotka would the static align be less of an issue if the label wrapping was better and it allowed for more space for fields with a lot of info? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Yeah good point... I think we can find a solution that will hide empty fields, while still having some alignment. |
This comment has been minimized.
This comment has been minimized.
|
yes, please! |
brian-brazil
added
kind/enhancement
priority/Pmaybe
component/ui
labels
Jun 13, 2018
This comment has been minimized.
This comment has been minimized.
lae
commented
Jun 15, 2018
•
|
Hi guys, Maybe I'm missing something here, but wouldn't setting (p.s. people may find the title of this issue is a bit distasteful.) |
This comment has been minimized.
This comment has been minimized.
|
@lae submit a pr with the change! I haven't been able to circle back to this yet, but I'd be happy to pull down your changes and try it out. |
bwplotka
changed the title
Let's make Prometheus UI Target page great again!
Improve Prometheus UI Target page by hiding empty fields / or by reverting back to dynamic alignment.
Jun 15, 2018
lae
added a commit
to idolactivities/prometheus
that referenced
this issue
Jun 15, 2018
This comment has been minimized.
This comment has been minimized.
lae
commented
Jun 15, 2018
|
@biglovisa See #4276 |
This comment has been minimized.
This comment has been minimized.
|
AFAICT it has been fixed by #5226. Feel free to re-open if not. |

bwplotka commentedMar 15, 2018
•
edited
What did you do?
I visited Target page on Prometheus v2.2.X UI
What did you expect to see?
Every target with readable label sets.
What did you see instead? Under which circumstances?
Badly wrapped label sets that obfuscates the view ):
Almost all my targets have more than 4 labels which ends up with random wrapping like this.
I already started discussion about it here: #3373
Not sure if that change actually introduced weird wrappings, but making fixed align here is not really helping. There is less space for things that are usually wider.
I guess, there are several options to fix this:
I am not necessarily a frontend guy, so can anybody more experienced (any design wizards here?) help us with this? (: Any suggestions? @lovisas @caarlos0
Environment
System information:
Chrome, linux
Prometheus version:
v2.2.1