ebpf.d.conf 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 = yes
  21. cgroups = no
  22. update every = 5
  23. pid table size = 32768
  24. #
  25. # eBPF Programs
  26. #
  27. # The eBPF collector enables and runs the following eBPF programs by default:
  28. #
  29. # `cachestat` : Make charts for kernel functions related to page cache.
  30. # `dcstat` : Make charts for kernel functions related to directory cache.
  31. # `disk` : Monitor I/O latencies for disks
  32. # `fd` : This eBPF program creates charts that show information about file manipulation.
  33. # `mdflush` : Monitors flush counts for multi-devices.
  34. # `mount` : Monitor calls for syscalls mount and umount
  35. # `filesystem`: Monitor calls for functions used to manipulate specific filesystems
  36. # `hardirq` : Monitor latency of serving hardware interrupt requests (hard IRQs).
  37. # `oomkill` : This eBPF program creates a chart that shows which process got OOM killed and when.
  38. # `process` : This eBPF program creates charts that show information about process life.
  39. # `shm` : Monitor calls for syscalls shmget, shmat, shmdt and shmctl.
  40. # `socket` : This eBPF program creates charts with information about `TCP` and `UDP` functions, including the
  41. # bandwidth consumed by each.
  42. # `softirq` : Monitor latency of serving software interrupt requests (soft IRQs).
  43. # `sync` : Monitor calls for syscall sync(2).
  44. # `swap` : Monitor calls for internal swap functions.
  45. # `vfs` : This eBPF program creates charts that show information about process VFS IO, VFS file manipulation and
  46. # files removed.
  47. [ebpf programs]
  48. cachestat = no
  49. dcstat = no
  50. disk = no
  51. fd = yes
  52. filesystem = no
  53. hardirq = yes
  54. mdflush = no
  55. mount = yes
  56. oomkill = yes
  57. process = yes
  58. shm = yes
  59. socket = no # Disabled while we are fixing race condition
  60. softirq = yes
  61. sync = yes
  62. swap = no
  63. vfs = yes
  64. network connections = no