mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 21:19:07 +01:00
alloy: Also collect proccess info with the unix exporter
This commit is contained in:
parent
3b37a4c4de
commit
36c16fa2be
1 changed files with 2 additions and 1 deletions
|
|
@ -77,10 +77,11 @@ in
|
|||
enable = cfg.collect.metrics.system;
|
||||
text = ''
|
||||
prometheus.exporter.unix "default" {
|
||||
enable_collectors = ["systemd"]
|
||||
enable_collectors = ["systemd", "processes"]
|
||||
}
|
||||
|
||||
prometheus.scrape "node_exporter" {
|
||||
job_name = "node"
|
||||
targets = prometheus.exporter.unix.default.targets
|
||||
forward_to = [prometheus.remote_write.default.receiver]
|
||||
scrape_interval = "15s"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue