process metrics

This commit is contained in:
goeranh 2026-04-21 11:34:10 +02:00
parent 6ea0361692
commit 1ba340e2a4
No known key found for this signature in database

View file

@ -47,7 +47,16 @@ in {
sources = { sources = {
host_metrics = { host_metrics = {
type = "host_metrics"; type = "host_metrics";
collectors = [ "cpu" "disk" "filesystem" "load" "memory" "network" ]; collectors = [
"cpu"
"disk"
"filesystem"
"load"
"host"
"memory"
"network"
"process"
];
}; };
journald_logs = { journald_logs = {
@ -68,6 +77,7 @@ in {
inputs = [ "host_metrics" ]; inputs = [ "host_metrics" ];
source = '' source = ''
.tags.host = get_hostname!() .tags.host = get_hostname!()
del(.tags.command)
''; '';
}; };