summaryrefslogtreecommitdiffstats
path: root/collectors/ebpf.plugin/ebpf.d/disk.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--collectors/ebpf.plugin/ebpf.d/disk.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/collectors/ebpf.plugin/ebpf.d/disk.conf b/collectors/ebpf.plugin/ebpf.d/disk.conf
new file mode 100644
index 00000000..c5a0a270
--- /dev/null
+++ b/collectors/ebpf.plugin/ebpf.d/disk.conf
@@ -0,0 +1,12 @@
+# 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 = 10
+ lifetime = 300
+