summaryrefslogtreecommitdiffstats
path: root/collectors/ebpf.plugin/ebpf.d/oomkill.conf
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/ebpf.plugin/ebpf.d/oomkill.conf')
-rw-r--r--collectors/ebpf.plugin/ebpf.d/oomkill.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/collectors/ebpf.plugin/ebpf.d/oomkill.conf b/collectors/ebpf.plugin/ebpf.d/oomkill.conf
new file mode 100644
index 000000000..e65e8672c
--- /dev/null
+++ b/collectors/ebpf.plugin/ebpf.d/oomkill.conf
@@ -0,0 +1,7 @@
+# The `ebpf load mode` option accepts the following values :
+# `entry` : The eBPF collector only monitors calls for the functions, and does not show charts related to errors.
+# `return : In the `return` mode, the eBPF collector monitors the same kernel functions as `entry`, but also creates
+# new charts for the return of these functions, such as errors.
+#[global]
+# ebpf load mode = entry
+# update every = 1