diff options
Diffstat (limited to 'src/collectors/ebpf.plugin/ebpf.d')
-rw-r--r-- | src/collectors/ebpf.plugin/ebpf.d/cachestat.conf | 2 | ||||
-rw-r--r-- | src/collectors/ebpf.plugin/ebpf.d/dcstat.conf | 2 | ||||
-rw-r--r-- | src/collectors/ebpf.plugin/ebpf.d/fd.conf | 1 | ||||
-rw-r--r-- | src/collectors/ebpf.plugin/ebpf.d/oomkill.conf | 12 | ||||
-rw-r--r-- | src/collectors/ebpf.plugin/ebpf.d/process.conf | 2 | ||||
-rw-r--r-- | src/collectors/ebpf.plugin/ebpf.d/shm.conf | 2 | ||||
-rw-r--r-- | src/collectors/ebpf.plugin/ebpf.d/swap.conf | 2 | ||||
-rw-r--r-- | src/collectors/ebpf.plugin/ebpf.d/vfs.conf | 1 |
8 files changed, 19 insertions, 5 deletions
diff --git a/src/collectors/ebpf.plugin/ebpf.d/cachestat.conf b/src/collectors/ebpf.plugin/ebpf.d/cachestat.conf index c378e82e..9c51b2c5 100644 --- a/src/collectors/ebpf.plugin/ebpf.d/cachestat.conf +++ b/src/collectors/ebpf.plugin/ebpf.d/cachestat.conf @@ -37,6 +37,6 @@ # pid table size = 32768 ebpf type format = auto ebpf co-re tracing = trampoline - collect pid = all + collect pid = real parent # maps per core = yes lifetime = 300 diff --git a/src/collectors/ebpf.plugin/ebpf.d/dcstat.conf b/src/collectors/ebpf.plugin/ebpf.d/dcstat.conf index 2d54bce9..614d814e 100644 --- a/src/collectors/ebpf.plugin/ebpf.d/dcstat.conf +++ b/src/collectors/ebpf.plugin/ebpf.d/dcstat.conf @@ -35,6 +35,6 @@ # pid table size = 32768 ebpf type format = auto ebpf co-re tracing = trampoline - collect pid = all + collect pid = real parent # maps per core = yes lifetime = 300 diff --git a/src/collectors/ebpf.plugin/ebpf.d/fd.conf b/src/collectors/ebpf.plugin/ebpf.d/fd.conf index d4823032..4d0d2ac0 100644 --- a/src/collectors/ebpf.plugin/ebpf.d/fd.conf +++ b/src/collectors/ebpf.plugin/ebpf.d/fd.conf @@ -23,5 +23,6 @@ # pid table size = 32768 ebpf type format = auto ebpf co-re tracing = trampoline + collect pid = real parent # maps per core = yes lifetime = 300 diff --git a/src/collectors/ebpf.plugin/ebpf.d/oomkill.conf b/src/collectors/ebpf.plugin/ebpf.d/oomkill.conf index ea97ebe8..a137b945 100644 --- a/src/collectors/ebpf.plugin/ebpf.d/oomkill.conf +++ b/src/collectors/ebpf.plugin/ebpf.d/oomkill.conf @@ -3,9 +3,21 @@ # `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 eBPF collector also creates charts for each running application through an integration with the `apps.plugin` +# or `cgroups.plugin`. +# If you want to disable the integration with `apps.plugin` or `cgroups.plugin` along with the above charts, change +# the setting `apps` and `cgroups` to 'no'. +# +# The `pid table size` defines the maximum number of PIDs stored inside the hash table. +# +# The `maps per core` defines if hash tables will be per core or not. This option is ignored on kernels older than 4.6. +# # 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 + ebpf type format = auto + ebpf co-re tracing = trampoline + collect pid = real parent lifetime = 300 diff --git a/src/collectors/ebpf.plugin/ebpf.d/process.conf b/src/collectors/ebpf.plugin/ebpf.d/process.conf index 6f647700..150c5792 100644 --- a/src/collectors/ebpf.plugin/ebpf.d/process.conf +++ b/src/collectors/ebpf.plugin/ebpf.d/process.conf @@ -26,6 +26,6 @@ # cgroups = no # update every = 10 # pid table size = 32768 - collect pid = all + collect pid = real parent # maps per core = yes lifetime = 300 diff --git a/src/collectors/ebpf.plugin/ebpf.d/shm.conf b/src/collectors/ebpf.plugin/ebpf.d/shm.conf index 0314bdc9..4769c52e 100644 --- a/src/collectors/ebpf.plugin/ebpf.d/shm.conf +++ b/src/collectors/ebpf.plugin/ebpf.d/shm.conf @@ -31,7 +31,7 @@ # pid table size = 32768 ebpf type format = auto ebpf co-re tracing = trampoline - collect pid = all + collect pid = real parent # maps per core = yes lifetime = 300 diff --git a/src/collectors/ebpf.plugin/ebpf.d/swap.conf b/src/collectors/ebpf.plugin/ebpf.d/swap.conf index 6d76b988..7d4c5f7d 100644 --- a/src/collectors/ebpf.plugin/ebpf.d/swap.conf +++ b/src/collectors/ebpf.plugin/ebpf.d/swap.conf @@ -30,6 +30,6 @@ # pid table size = 32768 ebpf type format = auto ebpf co-re tracing = trampoline - collect pid = all + collect pid = real parent # maps per core = yes lifetime = 300 diff --git a/src/collectors/ebpf.plugin/ebpf.d/vfs.conf b/src/collectors/ebpf.plugin/ebpf.d/vfs.conf index f511581b..941ac140 100644 --- a/src/collectors/ebpf.plugin/ebpf.d/vfs.conf +++ b/src/collectors/ebpf.plugin/ebpf.d/vfs.conf @@ -31,5 +31,6 @@ # pid table size = 32768 ebpf type format = auto ebpf co-re tracing = trampoline + collect pid = real parent # maps per core = yes lifetime = 300 |