diff options
Diffstat (limited to 'hosts/vidhar/prometheus/default.nix')
| -rw-r--r-- | hosts/vidhar/prometheus/default.nix | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix index 35942c53..c0941688 100644 --- a/hosts/vidhar/prometheus/default.nix +++ b/hosts/vidhar/prometheus/default.nix | |||
| @@ -59,7 +59,7 @@ in { | |||
| 59 | systemd = { | 59 | systemd = { |
| 60 | enable = true; | 60 | enable = true; |
| 61 | extraFlags = [ | 61 | extraFlags = [ |
| 62 | "--systemd.collector.unit-include=(dhcpcd|pppd-telekom|radvd|ndppd)\.service" | 62 | "--systemd.collector.unit-include=(dhcpcd|pppd-.+|radvd|ndppd)\.service" |
| 63 | "--systemd.collector.enable-restart-count" | 63 | "--systemd.collector.enable-restart-count" |
| 64 | "--systemd.collector.enable-ip-accounting" | 64 | "--systemd.collector.enable-ip-accounting" |
| 65 | ]; | 65 | ]; |
| @@ -202,13 +202,6 @@ in { | |||
| 202 | relabel_configs = relabelHosts; | 202 | relabel_configs = relabelHosts; |
| 203 | scrape_interval = "1s"; | 203 | scrape_interval = "1s"; |
| 204 | } | 204 | } |
| 205 | { job_name = "promtail"; | ||
| 206 | static_configs = [ | ||
| 207 | { targets = ["localhost:9080"]; } | ||
| 208 | ]; | ||
| 209 | relabel_configs = relabelHosts; | ||
| 210 | scrape_interval = "1s"; | ||
| 211 | } | ||
| 212 | { job_name = "apcupsd"; | 205 | { job_name = "apcupsd"; |
| 213 | static_configs = [ | 206 | static_configs = [ |
| 214 | { targets = ["localhost:${toString config.services.prometheus.exporters.apcupsd.port}"]; } | 207 | { targets = ["localhost:${toString config.services.prometheus.exporters.apcupsd.port}"]; } |
