modules/nixos/monitoring: switch back to separate subdomains

reverts d4343f7ebe
This commit is contained in:
zowoq 2024-11-24 09:44:15 +10:00
parent d259ff73c1
commit 3483677fcc
5 changed files with 18 additions and 15 deletions
modules/nixos/monitoring

View file

@ -12,10 +12,9 @@
services.prometheus = {
enable = true;
checkConfig = true;
webExternalUrl = "https://monitoring.nix-community.org/prometheus/";
webExternalUrl = "https://prometheus.nix-community.org/";
extraFlags = [
"--storage.tsdb.retention.time=30d"
"--web.route-prefix=/"
];
scrapeConfigs = [
{
@ -46,11 +45,10 @@
services.prometheus.alertmanager = {
enable = true;
webExternalUrl = "https://monitoring.nix-community.org/alertmanager/";
webExternalUrl = "https://alertmanager.nix-community.org/";
listenAddress = "[::1]";
extraFlags = [
"--cluster.listen-address=''"
"--web.route-prefix=/"
];
configuration = {
route = {