cachestat.conf 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 `pid table size` defines the maximum number of PIDs stored inside the application hash table.
  12. #
  13. # The `ebpf type format` option accepts the following values :
  14. # `auto` : The eBPF collector will investigate hardware and select between the two next options.
  15. # `legacy`: The eBPF collector will load the legacy code. Note: This has a bigger overload.
  16. # `co-re` : The eBPF collector will use latest tracing method. Note: This is not available on all platforms.
  17. #
  18. # The `ebpf co-re tracing` option accepts the following values:
  19. # `trampoline`: This is the default mode used by the eBPF collector, due the small overhead added to host.
  20. # `probe` : This is the same as legacy code.
  21. #
  22. # The `collect pid` option defines the PID stored inside hash tables and accepts the following options:
  23. # `real parent`: Only stores real parent inside PID
  24. # `parent` : Only stores parent PID.
  25. # `all` : Stores all PIDs used by software. This is the most expensive option.
  26. #
  27. # The `maps per core` defines if hash tables will be per core or not. This option is ignored on kernels older than 4.6.
  28. #
  29. # The `lifetime` defines the time length a thread will run when it is enabled by a function.
  30. #
  31. # Uncomment lines to define specific options for thread.
  32. [global]
  33. # ebpf load mode = entry
  34. # apps = yes
  35. # cgroups = no
  36. # update every = 10
  37. # pid table size = 32768
  38. ebpf type format = auto
  39. ebpf co-re tracing = trampoline
  40. collect pid = real parent
  41. # maps per core = yes
  42. lifetime = 300