ebpf.d.conf 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #
  2. # Global options
  3. #
  4. # The `ebpf load mode` option accepts the following values :
  5. # `entry` : The eBPF collector only monitors calls for the functions, and does not show charts related to errors.
  6. # `return : In the `return` mode, the eBPF collector monitors the same kernel functions as `entry`, but also creates
  7. # new charts for the return of these functions, such as errors.
  8. #
  9. # The eBPF collector also creates charts for each running application through an integration with the `apps.plugin`
  10. # or `cgroups.plugin`.
  11. # If you want to disable the integration with `apps.plugin` or `cgroups.plugin` along with the above charts, change the setting
  12. # `apps` and `cgroups` to 'no'.
  13. #
  14. # The `update every` option defines the number of seconds used to read data from kernel and send to netdata
  15. #
  16. # The `pid table size` defines the maximum number of PIDs stored in the application hash tables.
  17. #
  18. [global]
  19. ebpf load mode = entry
  20. apps = no
  21. cgroups = no
  22. update every = 5
  23. pid table size = 32768
  24. btf path = /sys/kernel/btf/
  25. #
  26. # eBPF Programs
  27. #
  28. # The eBPF collector has the following eBPF programs:
  29. #
  30. # `cachestat` : Make charts for kernel functions related to page cache.
  31. # `dcstat` : Make charts for kernel functions related to directory cache.
  32. # `disk` : Monitor I/O latencies for disks
  33. # `fd` : This eBPF program creates charts that show information about file manipulation.
  34. # `filesystem`: Monitor calls for functions used to manipulate specific filesystems
  35. # `hardirq` : Monitor latency of serving hardware interrupt requests (hard IRQs).
  36. # `mdflush` : Monitors flush counts for multi-devices.
  37. # `mount` : Monitor calls for syscalls mount and umount
  38. # `oomkill` : This eBPF program creates a chart that shows which process got OOM killed and when.
  39. # `process` : This eBPF program creates charts that show information about process life.
  40. # `shm` : Monitor calls for syscalls shmget, shmat, shmdt and shmctl.
  41. # `socket` : This eBPF program creates charts with information about `TCP` and `UDP` functions, including the
  42. # bandwidth consumed by each.
  43. # `softirq` : Monitor latency of serving software interrupt requests (soft IRQs).
  44. # `sync` : Monitor calls for syscall sync(2).
  45. # `swap` : Monitor calls for internal swap functions.
  46. # `vfs` : This eBPF program creates charts that show information about process VFS IO, VFS file manipulation and
  47. # files removed.
  48. #
  49. # When plugin detects that system has support to BTF, it enables integration with apps.plugin.
  50. #
  51. [ebpf programs]
  52. cachestat = yes
  53. dcstat = no
  54. disk = no
  55. fd = yes
  56. filesystem = no
  57. hardirq = yes
  58. mdflush = no
  59. mount = yes
  60. oomkill = yes
  61. process = yes
  62. shm = yes
  63. socket = no
  64. softirq = yes
  65. sync = yes
  66. swap = yes
  67. vfs = no
  68. network connections = no