monitoring

This commit is contained in:
41666 2024-02-11 01:35:44 -05:00
parent bc2e179b44
commit 8a77122c98
3 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,9 @@
{ ... }: {
services.prometheus.exporters.nginx = {
enable = true;
port = 14201;
scrapeUri = "http://localhost/nginx_status";
};
services.nginx.statusPage = true;
}

View file

@ -4,7 +4,7 @@
./base.nix
./features/tailscale.nix
./features/telemetry.nix
./features/telemetry
];
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;