summaryrefslogtreecommitdiffstats
path: root/src/collectors/ebpf.plugin/ebpf.d/oomkill.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:19:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:53:24 +0000
commitb5f8ee61a7f7e9bd291dd26b0585d03eb686c941 (patch)
treed4d31289c39fc00da064a825df13a0b98ce95b10 /src/collectors/ebpf.plugin/ebpf.d/oomkill.conf
parentAdding upstream version 1.44.3. (diff)
downloadnetdata-upstream.tar.xz
netdata-upstream.zip
Adding upstream version 1.46.3.upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/collectors/ebpf.plugin/ebpf.d/oomkill.conf')
-rw-r--r--src/collectors/ebpf.plugin/ebpf.d/oomkill.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/collectors/ebpf.plugin/ebpf.d/oomkill.conf b/src/collectors/ebpf.plugin/ebpf.d/oomkill.conf
new file mode 100644
index 000000000..ea97ebe85
--- /dev/null
+++ b/src/collectors/ebpf.plugin/ebpf.d/oomkill.conf
@@ -0,0 +1,11 @@
+# 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.
+#
+# The `lifetime` defines the time length a thread will run when it is enabled by a function.
+#
+[global]
+# ebpf load mode = entry
+# update every = 1
+ lifetime = 300