@cryptotaxi247 / netdata-1 / commits / eb3c45700

Add cgroups yaml (#15450)

Fotis Voutsas committed Jul 19, 2023 at 19:21 UTC eb3c457006acbf1d64b21879e094523a30dfeb5d
1 file changed +233 -247
collectors/cgroups.plugin/multi_metadata.yaml
+233 -247
@@ -1,54 +1,57 @@
1 name: cgroups.plugin
2 modules:
3 - - meta:
3 + - &module
4 + meta: &meta
5 plugin_name: cgroups.plugin
6 module_name: /sys/fs/cgroup
7 monitored_instance:
7 - name: cgroups /sys/fs/cgroup
8 - link: ''
9 - categories: []
10 - icon_filename: ''
8 + name: Containers
9 + link: ""
10 + categories:
11 + - data-collection.containers-and-vms
12 + icon_filename: netdata.png
13 related_resources:
14 integrations:
15 list: []
16 info_provided_to_referring_integrations:
15 - description: ''
16 - keywords: []
17 - most_popular: false
17 + description: ""
18 + keywords:
19 + - containers
20 + most_popular: true
21 overview:
22 data_collection:
20 - metrics_description: ''
21 - method_description: ''
23 + metrics_description: ""
24 + method_description: ""
25 supported_platforms:
26 include: []
27 exclude: []
28 multi-instance: true
29 additional_permissions:
27 - description: ''
30 + description: ""
31 default_behavior:
32 auto_detection:
30 - description: ''
33 + description: ""
34 limits:
32 - description: ''
35 + description: ""
36 performance_impact:
34 - description: ''
37 + description: ""
38 setup:
39 prerequisites:
40 list: []
41 configuration:
42 file:
40 - name: ''
41 - description: ''
43 + name: ""
44 + description: ""
45 options:
43 - description: ''
46 + description: ""
47 folding:
45 - title: ''
48 + title: ""
49 enabled: true
50 list: []
51 examples:
52 folding:
53 enabled: true
51 - title: ''
54 + title: ""
55 list: []
56 troubleshooting:
57 problems:
@@ -58,22 +61,20 @@ modules:
61 link: https://github.com/netdata/netdata/blob/master/health/health.d/cgroups.conf
62 metric: cgroup.cpu_limit
63 info: average cgroup CPU utilization over the last 10 minutes
61 - os: "linux"
64 - name: cgroup_ram_in_use
65 link: https://github.com/netdata/netdata/blob/master/health/health.d/cgroups.conf
66 metric: cgroup.mem_usage
67 info: cgroup memory utilization
66 - os: "linux"
67 - - name: k8s_cgroup_10min_cpu_usage
68 + - name: cgroup_1m_received_packets_rate
69 link: https://github.com/netdata/netdata/blob/master/health/health.d/cgroups.conf
69 - metric: k8s.cgroup.cpu_limit
70 - info: average cgroup CPU utilization over the last 10 minutes
71 - os: "linux"
72 - - name: k8s_cgroup_ram_in_use
70 + metric: cgroup.net_packets
71 + info: average number of packets received by the network interface ${label:device} over the last minute
72 + - name: cgroup_10s_received_packets_storm
73 link: https://github.com/netdata/netdata/blob/master/health/health.d/cgroups.conf
74 - metric: k8s.cgroup.mem_usage
75 - info: cgroup memory utilization
76 - os: "linux"
74 + metric: cgroup.net_packets
75 + info:
76 + ratio of average number of received packets for the network interface ${label:device} over the last 10 seconds, compared to the rate over
77 + the last minute
78 metrics:
79 folding:
80 title: Metrics
@@ -309,6 +310,136 @@ modules:
310 chart_type: line
311 dimensions:
312 - name: time
313 + - name: cgroup network device
314 + description: ""
315 + labels:
316 + - name: container_name
317 + description: TBD
318 + - name: image
319 + description: TBD
320 + - name: device
321 + description: TBD
322 + - name: interface_type
323 + description: TBD
324 + metrics:
325 + - name: cgroup.net_net
326 + description: Bandwidth
327 + unit: "kilobits/s"
328 + chart_type: area
329 + dimensions:
330 + - name: received
331 + - name: sent
332 + - name: cgroup.net_packets
333 + description: Packets
334 + unit: "pps"
335 + chart_type: line
336 + dimensions:
337 + - name: received
338 + - name: sent
339 + - name: multicast
340 + - name: cgroup.net_errors
341 + description: Interface Errors
342 + unit: "errors/s"
343 + chart_type: line
344 + dimensions:
345 + - name: inbound
346 + - name: outbound
347 + - name: cgroup.net_drops
348 + description: Interface Drops
349 + unit: "errors/s"
350 + chart_type: line
351 + dimensions:
352 + - name: inbound
353 + - name: outbound
354 + - name: cgroup.net_fifo
355 + description: Interface FIFO Buffer Errors
356 + unit: "errors/s"
357 + chart_type: line
358 + dimensions:
359 + - name: receive
360 + - name: transmit
361 + - name: cgroup.net_compressed
362 + description: Interface FIFO Buffer Errors
363 + unit: "pps"
364 + chart_type: line
365 + dimensions:
366 + - name: receive
367 + - name: sent
368 + - name: cgroup.net_events
369 + description: Network Interface Events
370 + unit: "events/s"
371 + chart_type: line
372 + dimensions:
373 + - name: frames
374 + - name: collisions
375 + - name: carrier
376 + - name: cgroup.net_operstate
377 + description: Interface Operational State
378 + unit: "state"
379 + chart_type: line
380 + dimensions:
381 + - name: up
382 + - name: down
383 + - name: notpresent
384 + - name: lowerlayerdown
385 + - name: testing
386 + - name: dormant
387 + - name: unknown
388 + - name: cgroup.net_carrier
389 + description: Interface Physical Link State
390 + unit: "state"
391 + chart_type: line
392 + dimensions:
393 + - name: up
394 + - name: down
395 + - name: cgroup.net_mtu
396 + description: Interface MTU
397 + unit: "octets"
398 + chart_type: line
399 + dimensions:
400 + - name: mtu
401 +
402 + - <<: *module
403 + meta:
404 + <<: *meta
405 + monitored_instance:
406 + name: Kubernetes Containers
407 + link: https://kubernetes.io/
408 + icon_filename: k8s.png
409 + categories:
410 + - data-collection.containers-vms
411 + - data-collection.kubernetes
412 + keywords:
413 + - k8s
414 + - kubernetes
415 + - pods
416 + - containers
417 + alerts:
418 + - name: k8s_cgroup_10min_cpu_usage
419 + link: https://github.com/netdata/netdata/blob/master/health/health.d/cgroups.conf
420 + metric: k8s.cgroup.cpu_limit
421 + info: average cgroup CPU utilization over the last 10 minutes
422 + - name: k8s_cgroup_ram_in_use
423 + link: https://github.com/netdata/netdata/blob/master/health/health.d/cgroups.conf
424 + metric: k8s.cgroup.mem_usage
425 + info: cgroup memory utilization
426 + - name: k8s_cgroup_1m_received_packets_rate
427 + link: https://github.com/netdata/netdata/blob/master/health/health.d/cgroups.conf
428 + metric: k8s.cgroup.net_packets
429 + info: average number of packets received by the network interface ${label:device} over the last minute
430 + - name: k8s_cgroup_10s_received_packets_storm
431 + link: https://github.com/netdata/netdata/blob/master/health/health.d/cgroups.conf
432 + metric: k8s.cgroup.net_packets
433 + info:
434 + ratio of average number of received packets for the network interface ${label:device} over the last 10 seconds, compared to the rate over
435 + the last minute
436 + metrics:
437 + folding:
438 + title: Metrics
439 + enabled: false
440 + description: ""
441 + availability: []
442 + scopes:
443 - name: k8s cgroup
444 description: ""
445 labels:
@@ -555,172 +686,7 @@ modules:
686 chart_type: line
687 dimensions:
688 - name: time
558 - - meta:
559 - plugin_name: cgroups.plugin
560 - module_name: /proc/net/dev
561 - monitored_instance:
562 - name: cgroups /proc/net/dev
563 - link: ''
564 - categories: []
565 - icon_filename: ''
566 - related_resources:
567 - integrations:
568 - list: []
569 - info_provided_to_referring_integrations:
570 - description: ''
571 - keywords: []
572 - most_popular: false
573 - overview:
574 - data_collection:
575 - metrics_description: ''
576 - method_description: ''
577 - supported_platforms:
578 - include: []
579 - exclude: []
580 - multi-instance: true
581 - additional_permissions:
582 - description: ''
583 - default_behavior:
584 - auto_detection:
585 - description: ''
586 - limits:
587 - description: ''
588 - performance_impact:
589 - description: ''
590 - setup:
591 - prerequisites:
592 - list: []
593 - configuration:
594 - file:
595 - name: ''
596 - description: ''
597 - options:
598 - description: ''
599 - folding:
600 - title: ''
601 - enabled: true
602 - list: []
603 - examples:
604 - folding:
605 - enabled: true
606 - title: ''
607 - list: []
608 - troubleshooting:
609 - problems:
610 - list: []
611 - alerts:
612 - - name: cgroup_1m_received_packets_rate
613 - link: https://github.com/netdata/netdata/blob/master/health/health.d/cgroups.conf
614 - metric: cgroup.net_packets
615 - info: average number of packets received by the network interface ${label:device} over the last minute
616 - - name: cgroup_10s_received_packets_storm
617 - link: https://github.com/netdata/netdata/blob/master/health/health.d/cgroups.conf
618 - metric: cgroup.net_packets
619 - info: ratio of average number of received packets for the network interface ${label:device} over the last 10 seconds, compared to the rate over the last minute
620 - - name: k8s_cgroup_1m_received_packets_rate
621 - link: https://github.com/netdata/netdata/blob/master/health/health.d/cgroups.conf
622 - metric: k8s.cgroup.net_packets
623 - info: average number of packets received by the network interface ${label:device} over the last minute
624 - - name: k8s_cgroup_10s_received_packets_storm
625 - link: https://github.com/netdata/netdata/blob/master/health/health.d/cgroups.conf
626 - metric: k8s.cgroup.net_packets
627 - info: ratio of average number of received packets for the network interface ${label:device} over the last 10 seconds, compared to the rate over the last minute
628 - metrics:
629 - folding:
630 - title: Metrics
631 - enabled: false
632 - description: ""
633 - availability: []
634 - scopes:
635 - - name: cgroup, network device
636 - description: ""
637 - labels:
638 - - name: container_name
639 - description: TBD
640 - - name: image
641 - description: TBD
642 - - name: device
643 - description: TBD
644 - - name: interface_type
645 - description: TBD
646 - metrics:
647 - - name: cgroup.net_net
648 - description: Bandwidth
649 - unit: "kilobits/s"
650 - chart_type: area
651 - dimensions:
652 - - name: received
653 - - name: sent
654 - - name: cgroup.net_packets
655 - description: Packets
656 - unit: "pps"
657 - chart_type: line
658 - dimensions:
659 - - name: received
660 - - name: sent
661 - - name: multicast
662 - - name: cgroup.net_errors
663 - description: Interface Errors
664 - unit: "errors/s"
665 - chart_type: line
666 - dimensions:
667 - - name: inbound
668 - - name: outbound
669 - - name: cgroup.net_drops
670 - description: Interface Drops
671 - unit: "errors/s"
672 - chart_type: line
673 - dimensions:
674 - - name: inbound
675 - - name: outbound
676 - - name: cgroup.net_fifo
677 - description: Interface FIFO Buffer Errors
678 - unit: "errors/s"
679 - chart_type: line
680 - dimensions:
681 - - name: receive
682 - - name: transmit
683 - - name: cgroup.net_compressed
684 - description: Interface FIFO Buffer Errors
685 - unit: "pps"
686 - chart_type: line
687 - dimensions:
688 - - name: receive
689 - - name: sent
690 - - name: cgroup.net_events
691 - description: Network Interface Events
692 - unit: "events/s"
693 - chart_type: line
694 - dimensions:
695 - - name: frames
696 - - name: collisions
697 - - name: carrier
698 - - name: cgroup.net_operstate
699 - description: Interface Operational State
700 - unit: "state"
701 - chart_type: line
702 - dimensions:
703 - - name: up
704 - - name: down
705 - - name: notpresent
706 - - name: lowerlayerdown
707 - - name: testing
708 - - name: dormant
709 - - name: unknown
710 - - name: cgroup.net_carrier
711 - description: Interface Physical Link State
712 - unit: "state"
713 - chart_type: line
714 - dimensions:
715 - - name: up
716 - - name: down
717 - - name: cgroup.net_mtu
718 - description: Interface MTU
719 - unit: "octets"
720 - chart_type: line
721 - dimensions:
722 - - name: mtu
723 - - name: k8s cgroup, network device
689 + - name: k8s cgroup network device
690 description: ""
691 labels:
692 - name: device
@@ -826,59 +792,16 @@ modules:
792 chart_type: line
793 dimensions:
794 - name: mtu
829 - - meta:
830 - plugin_name: cgroups.plugin
831 - module_name: systemd
795 +
796 + - <<: *module
797 + meta:
798 + <<: *meta
799 monitored_instance:
833 - name: cgroups systemd
834 - link: ''
835 - categories: []
836 - icon_filename: ''
837 - related_resources:
838 - integrations:
839 - list: []
840 - info_provided_to_referring_integrations:
841 - description: ''
842 - keywords: []
843 - most_popular: false
844 - overview:
845 - data_collection:
846 - metrics_description: ''
847 - method_description: ''
848 - supported_platforms:
849 - include: []
850 - exclude: []
851 - multi-instance: true
852 - additional_permissions:
853 - description: ''
854 - default_behavior:
855 - auto_detection:
856 - description: ''
857 - limits:
858 - description: ''
859 - performance_impact:
860 - description: ''
861 - setup:
862 - prerequisites:
863 - list: []
864 - configuration:
865 - file:
866 - name: ''
867 - description: ''
868 - options:
869 - description: ''
870 - folding:
871 - title: ''
872 - enabled: true
873 - list: []
874 - examples:
875 - folding:
876 - enabled: true
877 - title: ''
878 - list: []
879 - troubleshooting:
880 - problems:
881 - list: []
800 + name: Systemd Services
801 + link: ""
802 + icon_filename: systemd.png
803 + categories:
804 + - data-collection.systemd
805 alerts: []
806 metrics:
807 folding:
@@ -1035,3 +958,66 @@ modules:
958 chart_type: stacked
959 dimensions:
960 - name: a dimension per systemd service
961 + - <<: *module
962 + meta:
963 + <<: *meta
964 + monitored_instance:
965 + name: Virtual Machines
966 + link: ""
967 + icon_filename: k8s.png
968 + categories:
969 + - data-collection.containers-vms
970 + - data-collection.kubernetes
971 + keywords:
972 + - vms
973 + - virtualization
974 + - container
975 + - <<: *module
976 + meta:
977 + <<: *meta
978 + monitored_instance:
979 + name: LXC Containers
980 + link: ""
981 + icon_filename: lxc.png
982 + categories:
983 + - data-collection.containers-vms
984 + keywords:
985 + - lxc
986 + - lxd
987 + - container
988 + - <<: *module
989 + meta:
990 + <<: *meta
991 + monitored_instance:
992 + name: Libvirt Containers
993 + link: ""
994 + icon_filename: libvirt.png
995 + categories:
996 + - data-collection.containers-vms
997 + keywords:
998 + - libvirt
999 + - container
1000 + - <<: *module
1001 + meta:
1002 + <<: *meta
1003 + monitored_instance:
1004 + name: oVirt Containers
1005 + link: ""
1006 + icon_filename: ovirt.png
1007 + categories:
1008 + - data-collection.containers-vms
1009 + keywords:
1010 + - ovirt
1011 + - container
1012 + - <<: *module
1013 + meta:
1014 + <<: *meta
1015 + monitored_instance:
1016 + name: Proxmox Containers
1017 + link: ""
1018 + icon_filename: proxmox.png
1019 + categories:
1020 + - data-collection.containers-vms
1021 + keywords:
1022 + - proxmox
1023 + - container