dcstat.conf 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # The `ebpf load mode` option accepts the following values :
  2. # `entry` : The eBPF collector only monitors calls for the functions, and does not show charts related to errors.
  3. # `return : In the `return` mode, the eBPF collector monitors the same kernel functions as `entry`, but also creates
  4. # new charts for the return of these functions, such as errors.
  5. #
  6. # The eBPF collector also creates charts for each running application through an integration with the `apps.plugin`
  7. # or `cgroups.plugin`.
  8. # If you want to disable the integration with `apps.plugin` or `cgroups.plugin` along with the above charts, change
  9. # the setting `apps` and `cgroups` to 'no'.
  10. #
  11. # The `ebpf type format` option accepts the following values :
  12. # `auto` : The eBPF collector will investigate hardware and select between the two next options.
  13. # `legacy`: The eBPF collector will load the legacy code. Note: This has a bigger overload.
  14. # `co-re` : The eBPF collector will use latest tracing method. Note: This is not available on all platforms.
  15. #
  16. # The `ebpf co-re tracing` option accepts the following values:
  17. # `trampoline`: This is the default mode used by the eBPF collector, due the small overhead added to host.
  18. # `probe` : This is the same as legacy code.
  19. #
  20. # The `collect pid` option defines the PID stored inside hash tables and accepts the following options:
  21. # `real parent`: Only stores real parent inside PID
  22. # `parent` : Only stores parent PID.
  23. # `all` : Stores all PIDs used by software. This is the most expensive option.
  24. #
  25. # The `maps per core` defines if hash tables will be per core or not. This option is ignored on kernels older than 4.6.
  26. #
  27. # Uncomment lines to define specific options for thread.
  28. [global]
  29. # ebpf load mode = entry
  30. # apps = yes
  31. # cgroups = no
  32. # update every = 10
  33. # pid table size = 32768
  34. ebpf type format = auto
  35. ebpf co-re tracing = trampoline
  36. collect pid = real parent
  37. # maps per core = yes