Closed ams-tschoening closed 6 years ago
I'm against this feature, as we want to keep colors for specific graphs "stable" - for example we expect CPU usage to be green as people are used to it. Automatic assignment would make colors changed.
So how do you want to deal with all the warnings about missing colors I already mentioned in a comment to PR #8? Simply ignoring them means that they will get random colors every time. Have a look at the following image, one can't distinguish %usr
and %guest
anymore:
I wrote I don't want to break historical colors. I don't care too much about colors for newly added data - if they conflict with existing colors, we can always set them manually.
I suggest removing color definitions in the Config.xml by default, because it looks like ksar is able to handle missing ones automatically. This should remove a lot of maintenance time for increasing data in sar files in future. This is related to PR #8, only one of both approaches is needed.
https://github.com/ppalucha/ksar2/pull/8