ebpf.d.conf 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. # The `btf path` specifies where to find the BTF files.
  19. #
  20. # The `maps per core` defines if hash tables will be per core or not. This option is ignored on kernels older than 4.15.
  21. #
  22. [global]
  23. ebpf load mode = entry
  24. apps = no
  25. cgroups = no
  26. update every = 5
  27. pid table size = 32768
  28. btf path = /sys/kernel/btf/
  29. maps per core = yes
  30. #
  31. # eBPF Programs
  32. #
  33. # The eBPF collector has the following eBPF programs:
  34. #
  35. # `cachestat` : Make charts for kernel functions related to page cache.
  36. # `dcstat` : Make charts for kernel functions related to directory cache.
  37. # `disk` : Monitor I/O latencies for disks
  38. # `fd` : This eBPF program creates charts that show information about file manipulation.
  39. # `filesystem`: Monitor calls for functions used to manipulate specific filesystems
  40. # `hardirq` : Monitor latency of serving hardware interrupt requests (hard IRQs).
  41. # `mdflush` : Monitors flush counts for multi-devices.
  42. # `mount` : Monitor calls for syscalls mount and umount
  43. # `oomkill` : This eBPF program creates a chart that shows which process got OOM killed and when.
  44. # `process` : This eBPF program creates charts that show information about process life.
  45. # `shm` : Monitor calls for syscalls shmget, shmat, shmdt and shmctl.
  46. # `socket` : This eBPF program creates charts with information about `TCP` and `UDP` functions, including the
  47. # bandwidth consumed by each.
  48. # `softirq` : Monitor latency of serving software interrupt requests (soft IRQs).
  49. # `sync` : Monitor calls for syscall sync(2).
  50. # `swap` : Monitor calls for internal swap functions.
  51. # `vfs` : This eBPF program creates charts that show information about process VFS IO, VFS file manipulation and
  52. # files removed.
  53. #
  54. # When plugin detects that system has support to BTF, it enables integration with apps.plugin.
  55. #
  56. [ebpf programs]
  57. cachestat = yes
  58. dcstat = no
  59. disk = no
  60. fd = yes
  61. filesystem = no
  62. hardirq = no
  63. mdflush = no
  64. mount = yes
  65. oomkill = yes
  66. process = yes
  67. shm = yes
  68. socket = no
  69. softirq = yes
  70. sync = no
  71. swap = yes
  72. vfs = no
  73. network connections = no