shatteredsilicon / ssm-submodules

GNU Affero General Public License v3.0
1 stars 2 forks source link

MySQL / MySQL Overview / Process States Colours are Illegible (dark on dark background) #181

Open gordan-bobic opened 1 year ago

gordan-bobic commented 1 year ago

Colours of the lines on the Process States graph need to be changed. Apart from the idle line, most others are completely invisible on the dark background, especially updating, statistics and executing.

On a more general note, Is there something systematic we can easily apply to make sure that colours of graphs are such that the sum of R+G+B is always at least 384 (about half of maximum (255+255+255=785))?

oblitorum commented 12 months ago

Unfortunately, I couldn't find a way in Grafana to auto-generate such light colors in that RGB range, we have to assign a custom light color to each line manually.

gordan-bobic commented 12 months ago

That is unfortunate. Can you just bump up the colour brightness on the template for that graph? I don't think new states will be appearing often on that graph, so setting them statically is probably not the end of the world.

Actually - does newer Grafana do something more sensible? I think the background on newer versions is solid black, so that should bump up the contrast anyway. Let's park this for now and revisit later.

oblitorum commented 12 months ago

The newer Grafana changed their color scheme, but I still find some colors not very clear on that background

image

The full list of lines and their associated colors

image

Since we build Grafana by ourself, we can add a patch to change that color scheme at build time.

gordan-bobic commented 12 months ago

I'm not sure I like the idea of maintaining our own fork of Grafana on top of everything else we have to maintain. Let's park this for now.