diff options
| author | seth <[email protected]> | 2023-09-06 17:50:53 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-09-07 13:52:26 -0400 |
| commit | e41f98de313f81a74a6ebb1131b3bd92817c4acb (patch) | |
| tree | 02272b37a7ce9650bdfc47f73be64a0a7b2f8800 /hosts/p-body/victoriametrics.nix | |
| parent | 5d0fdf984a2708ad746669814ac874d6f7ad44b4 (diff) | |
hosts: remove p-body
Diffstat (limited to 'hosts/p-body/victoriametrics.nix')
| -rw-r--r-- | hosts/p-body/victoriametrics.nix | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/hosts/p-body/victoriametrics.nix b/hosts/p-body/victoriametrics.nix deleted file mode 100644 index dec893e..0000000 --- a/hosts/p-body/victoriametrics.nix +++ /dev/null @@ -1,26 +0,0 @@ -{config, ...}: let - mkScrapes = let - mkConfig = client: { - job_name = "${client}"; - static_configs = [ - { - targets = [ - "${client}:${toString config.services.prometheus.exporters.node.port}" - ]; - } - ]; - }; - in - builtins.map mkConfig; -in { - services = { - victoriametrics.enable = true; - - vmagent = { - enable = true; - prometheusConfig = { - scrape_configs = mkScrapes ["p-body" "atlas"]; - }; - }; - }; -} |
