@cryptotaxi247 / netdata-1 / commits / 3c2b067f6

add cgroups.plugin charts descriptions (#11607)

Ilya Mashchenko committed Oct 4, 2021 at 12:41 UTC 3c2b067f6635accfc44b1e06add3ce552d9c7272
1 file changed +109 -5
web/gui/dashboard_info.js
+109 -5
@@ -3199,7 +3199,10 @@ netdataDashboard.context = {
3199 + ' data-colors="' + NETDATA.colors[4] + '"'
3200 + ' role="application"></div>';
3201 }
3202 - ]
3202 + ],
3203 + info: 'Total CPU utilization within the configured or system-wide (if not set) limits. '+
3204 + 'When the CPU utilization of a cgroup exceeds the limit for the configured period, '+
3205 + 'the tasks belonging to its hierarchy will be throttled and are not allowed to run again until the next period.'
3206 },
3207
3208 'cgroup.cpu': {
@@ -3221,7 +3224,26 @@ netdataDashboard.context = {
3224 } else
3225 return '';
3226 }
3224 - ]
3227 + ],
3228 + info: 'Total CPU utilization within the system-wide CPU resources (all cores). '+
3229 + 'The amount of time spent by tasks of the cgroup in '+
3230 + '<a href="https://en.wikipedia.org/wiki/CPU_modes#Mode_types" target="_blank">user and kernel</a> modes.'
3231 + },
3232 +
3233 + 'cgroup.cpu_per_core': {
3234 + info: 'Total CPU utilization per core within the system-wide CPU resources.'
3235 + },
3236 +
3237 + 'cgroup.cpu_pressure': {
3238 + info: 'CPU <a href="https://www.kernel.org/doc/html/latest/accounting/psi.html" target="_blank">Pressure Stall Information</a>. '+
3239 + '<b>Some</b> indicates the share of time in which at least some tasks are stalled on CPU. '+
3240 + 'The ratios (in %) are tracked as recent trends over 10-, 60-, and 300-second windows.'
3241 + },
3242 +
3243 + 'cgroup.mem_utilization': {
3244 + info: 'RAM utilization within the configured or system-wide (if not set) limits. '+
3245 + 'When the RAM utilization of a cgroup exceeds the limit, '+
3246 + 'OOM killer will start killing the tasks belonging to the cgroup.'
3247 },
3248
3249 'cgroup.mem_usage_limit': {
@@ -3244,7 +3266,10 @@ netdataDashboard.context = {
3266 + ' data-colors="' + NETDATA.colors[1] + '"'
3267 + ' role="application"></div>';
3268 }
3247 - ]
3269 + ],
3270 + info: 'RAM usage within the configured or system-wide (if not set) limits. '+
3271 + 'When the RAM usage of a cgroup exceeds the limit, '+
3272 + 'OOM killer will start killing the tasks belonging to the cgroup.'
3273 },
3274
3275 'cgroup.mem_usage': {
@@ -3266,7 +3291,67 @@ netdataDashboard.context = {
3291 } else
3292 return '';
3293 }
3269 - ]
3294 + ],
3295 + info: 'The amount of used RAM and swap memory.'
3296 + },
3297 +
3298 + 'cgroup.mem': {
3299 + info: 'Memory usage statistics. '+
3300 + 'The individual metrics are described in the memory.stat section for '+
3301 + '<a href="https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v1/memory.html#per-memory-cgroup-local-status" target="_blank">cgroup-v1 </a>'+
3302 + 'and '+
3303 + '<a href="https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#memory-interface-files" target="_blank">cgroup-v2</a>.'
3304 + },
3305 +
3306 + 'cgroup.mem_failcnt': {
3307 + info: 'The number of memory usage hits limits.'
3308 + },
3309 +
3310 + 'cgroup.writeback': {
3311 + info: '<b>Dirty</b> is the amount of memory waiting to be written to disk. <b>Writeback</b> is how much memory is actively being written to disk.'
3312 + },
3313 +
3314 + 'cgroup.mem_activity': {
3315 + info: '<p>Memory accounting statistics.</p>'+
3316 + '<p><b>In</b> - a page is accounted as either mapped anon page (RSS) or cache page (Page Cache) to the cgroup. '+
3317 + '<b>Out</b> - a page is unaccounted from the cgroup.</p>'
3318 + },
3319 +
3320 + 'cgroup.pgfaults': {
3321 + info: '<p>Memory <a href="https://en.wikipedia.org/wiki/Page_fault" target="_blank">page fault</a> statistics.</p>'+
3322 + '<p><b>Pgfault</b> - all page faults. '+
3323 + '<b>Swap</b> - major page faults.</p>'
3324 + },
3325 +
3326 + 'cgroup.memory_pressure': {
3327 + info: 'Memory <a href="https://www.kernel.org/doc/html/latest/accounting/psi.html" target="_blank">Pressure Stall Information</a>. '+
3328 + '<b>Some</b> indicates the share of time in which at least some tasks are stalled on memory. '+
3329 + 'The ratios (in %) are tracked as recent trends over 10-, 60-, and 300-second windows.'
3330 + },
3331 +
3332 + 'cgroup.memory_full_pressure': {
3333 + info: 'Memory <a href="https://www.kernel.org/doc/html/latest/accounting/psi.html" target="_blank">Pressure Stall Information</a>. '+
3334 + '<b>Full</b> indicates the share of time in which all non-idle tasks are stalled on memory simultaneously. '+
3335 + 'In this state actual CPU cycles are going to waste, '+
3336 + 'and a workload that spends extended time in this state is considered to be thrashing. '+
3337 + 'The ratios (in %) are tracked as recent trends over 10-, 60-, and 300-second windows.'
3338 + },
3339 +
3340 + 'cgroup.io': {
3341 + info: 'The amount of data transferred to and from specific devices as seen by the CFQ scheduler. '+
3342 + 'It is not updated when the CFQ scheduler is operating on a request queue.'
3343 + },
3344 +
3345 + 'cgroup.serviced_ops': {
3346 + info: 'The number of I/O operations performed on specific devices as seen by the CFQ scheduler.'
3347 + },
3348 +
3349 + 'cgroup.queued_ops': {
3350 + info: 'The number of requests queued for I/O operations.'
3351 + },
3352 +
3353 + 'cgroup.merged_ops': {
3354 + info: 'The number of BIOS requests merged into requests for I/O operations.'
3355 },
3356
3357 'cgroup.throttle_io': {
@@ -3301,7 +3386,26 @@ netdataDashboard.context = {
3386 + ' data-colors="' + NETDATA.colors[3] + '"'
3387 + ' role="application"></div>';
3388 }
3304 - ]
3389 + ],
3390 + info: 'The amount of data transferred to and from specific devices as seen by the throttling policy.'
3391 + },
3392 +
3393 + 'cgroup.throttle_serviced_ops': {
3394 + info: 'The number of I/O operations performed on specific devices as seen by the throttling policy.'
3395 + },
3396 +
3397 + 'cgroup.io_pressure': {
3398 + info: 'I/O <a href="https://www.kernel.org/doc/html/latest/accounting/psi.html" target="_blank">Pressure Stall Information</a>. '+
3399 + '<b>Some</b> indicates the share of time in which at least some tasks are stalled on I/O. '+
3400 + 'The ratios (in %) are tracked as recent trends over 10-, 60-, and 300-second windows.'
3401 + },
3402 +
3403 + 'cgroup.io_full_pressure': {
3404 + info: 'I/O <a href="https://www.kernel.org/doc/html/latest/accounting/psi.html" target="_blank">Pressure Stall Information</a>. '+
3405 + '<b>Full</b> indicates the share of time in which all non-idle tasks are stalled on I/O simultaneously. '+
3406 + 'In this state actual CPU cycles are going to waste, '+
3407 + 'and a workload that spends extended time in this state is considered to be thrashing. '+
3408 + 'The ratios (in %) are tracked as recent trends over 10-, 60-, and 300-second windows.'
3409 },
3410
3411 // ------------------------------------------------------------------------