process metrics
This commit is contained in:
parent
6ea0361692
commit
1ba340e2a4
1 changed files with 11 additions and 1 deletions
|
|
@ -47,7 +47,16 @@ in {
|
|||
sources = {
|
||||
host_metrics = {
|
||||
type = "host_metrics";
|
||||
collectors = [ "cpu" "disk" "filesystem" "load" "memory" "network" ];
|
||||
collectors = [
|
||||
"cpu"
|
||||
"disk"
|
||||
"filesystem"
|
||||
"load"
|
||||
"host"
|
||||
"memory"
|
||||
"network"
|
||||
"process"
|
||||
];
|
||||
};
|
||||
|
||||
journald_logs = {
|
||||
|
|
@ -68,6 +77,7 @@ in {
|
|||
inputs = [ "host_metrics" ];
|
||||
source = ''
|
||||
.tags.host = get_hostname!()
|
||||
del(.tags.command)
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue