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.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/collectors/ebpf.plugin/ebpf.d/oomkill.conf b/collectors/ebpf.plugin/ebpf.d/oomkill.conf
index e65e8672c..ea97ebe85 100644
--- a/collectors/ebpf.plugin/ebpf.d/oomkill.conf
+++ b/collectors/ebpf.plugin/ebpf.d/oomkill.conf
@@ -2,6 +2,10 @@
# `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]
+#
+# 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