Skip to content
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

Plugin memory (linux): use fixed colors for all fields #1126

Merged

Conversation

sumpfralle
Copy link
Collaborator

Previously only the color for the field "apps" was fixed (green). The colors of all remaining fields depended on the local setup of the host and the resulting availability of various memory-related statistics (e.g. "shmem"). A change of setup or a kernel upgrade thus lead to a confusing shift of the color palette. An unfortunate environment would even lead to the field "free" using the "red" color from the palette. This warning colour would obviously be misleading.

The memory plugin will not be maintained in the long term. It is already removed from the branch preparing the upcoming munin 3.0 release. Thus it is acceptable to introduce a fixed color scheme, even though this would usually be a maintenance burden.

Please note that the colors of almost all fields may change (once).

Definitely unchanged fields:

  • apps (always the first field)
  • KSM sharing (previously hard-coded)

Most other fields are probably unchanged for systems where the fields "page_tables", "swap_cache" and "slab_cache" are available.

Users of systems with a different set of optional memory related statistics will experience a one-time shift of the color palette for their set of available fields.

Previously only the color for the field "apps" was fixed (green).
The colors of all remaining fields depended on the local setup of the
host and the resulting availability of various memory-related
statistics (e.g. "shmem").
A change of setup or a kernel upgrade thus lead to a confusing shift of
the color palette. An unfortunate environment would even lead to the
field "free" using the "red" color from the palette. This warning colour
would obviously be misleading.

The memory plugin will not be maintained in the long term. It is already
removed from the branch preparing the upcoming munin 3.0 release.
Thus it is acceptable to introduce a fixed color scheme, even though
this would usually be a maintenance burden.

Please note that the colors of almost all fields may change (once).

Definitely unchanged fields:
* apps (always the first field)
* KSM sharing (previously hard-coded)

Most other fields are *probably* unchanged for systems where the fields
"page_tables", "swap_cache" and "slab_cache" are available.

Users of systems with a different set of optional memory related
statistics will experience a one-time shift of the color palette for
their set of available fields.
@sumpfralle
Copy link
Collaborator Author

Previous color set (for an example setup)

memory-day-old

New color set

memory-day-new

@steveschnepp
Copy link
Member

I tend to agree on that PR, but we have to ensure that the colors will remain stable in the 3.0 plugin rewrite.

@sumpfralle sumpfralle merged commit 20d13ca into munin-monitoring:stable-2.0 Dec 19, 2018
@sumpfralle sumpfralle deleted the memory-plugin-fixed-colors branch December 19, 2018 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants