-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
introduce new chart for process states metrics #12305
Conversation
This commit introduces new chart for total number of processes in different states i.e running, sleeping, sleeping_d, zombie and stopped.
The current implementation creates 3 different charts with the same id
Should be only "Apps Process States". |
@CodeGuru1 found another problem, we create the chart (the CHART line) on every data collection. We need to do it only once. root@debian-s-1vcpu-1gb-fra1-01:/opt/netdata/usr/libexec/netdata/plugins.d# ./apps.plugin 2>/dev/null | grep "system.process_states"
CHART system.process_states '' 'Apps Process States' 'numbers' processes system.process_states line 601 1
BEGIN system.process_states 0
CHART system.process_states '' 'Apps Process States' 'numbers' processes system.process_states line 601 1
BEGIN system.process_states 1001073
CHART system.process_states '' 'Apps Process States' 'numbers' processes system.process_states line 601 1
BEGIN system.process_states 999863
CHART system.process_states '' 'Apps Process States' 'numbers' processes system.process_states line 601 1
BEGIN system.process_states 999706
CHART system.process_states '' 'Apps Process States' 'numbers' processes system.process_states line 601 1
BEGIN system.process_states 1000240 |
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
@CodeGuru1 let's change the order a bit: swap interruptible and uninterruptible. Because of the color - 2nd dimension is red. |
Co-authored-by: Timotej S. <6674623+underhood@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know that we are trying to have a short style in the descriptions, but omitting the subject of the sentence could lead to confusion.
Also, if we should ever truly become a "global" product and start to translate our UI, complete sentences are key to cost-efficient translation. While translation is still to be discussed, we should try to deliver high quality text the first time around. 😄
Thank you @ilyam8 for including me in these reviews!
Co-authored-by: Tina Luedtke <kickoke@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am approving without to test, because only documentation was merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs: LGTM
Close/open to retrigger stuck build jobs. |
https://build.opensuse.org/request/show/977544 by user mia + dimstar_suse - Update to 1.34.1 (go.d.plugin 0.32.3) Collectors * New collectors + Add CPU throttling charts (cgroups.plugin) (gh#netdata/netdata#12591) + Add clock status chart (timex.plugin) (gh#netdata/netdata#12501) + Add Asterisk configuration file with synthetic charts (statsd.plugin) (gh#netdata/netdata#12381) + Add new chart for process states metrics (apps.plugin) (gh#netdata/netdata#12305) + Add thermal zone metrics collection (go.d/wmi) (gh#netdata/netdata#667) + Add SNMP data collector (go.d/snmp) (gh#netdata/netdata#644) * Improvements + Add 'locust' to apps_groups.conf (gh#netdata/netdata#12498) + Enable timex plugin for non-linux systems (timex.plugin) (gh#netdata/netdata#12489) + Prefer 'blkio.*
This commit introduces new chart for total number of processes in different states i.e running, sleeping_interruptible, sleeping_uninterruptible, zombie and stopped. This feature is implemented for Linux only. Closes #12139