diff --git a/morph/lib/monitoring.nix b/morph/lib/monitoring.nix index f3358f8c7426f9a6065b399b0944b4df145526d7..6df65a5437baf430b451db42b24e57316db21f28 100644 --- a/morph/lib/monitoring.nix +++ b/morph/lib/monitoring.nix @@ -28,9 +28,4 @@ rec { # Loki 0.3.0 from Nixpkgs 19.09 is too old and does not work: # ../../nixos/modules/monitoring/server/loki.nix ]; - - services.private-storage.monitoring.grafana = { - prometheusUrl = "http://localhost:9090/"; - lokiUrl = "http://localhost:3100/"; - }; } diff --git a/nixos/modules/monitoring/server/grafana.nix b/nixos/modules/monitoring/server/grafana.nix index 4360965bd1054e79365d3b3f939f24c4533c2d01..d2214803db0be2d82a8c01030ee26d208e3dee47 100644 --- a/nixos/modules/monitoring/server/grafana.nix +++ b/nixos/modules/monitoring/server/grafana.nix @@ -18,13 +18,13 @@ in { prometheusUrl = lib.mkOption { type = lib.types.str; example = lib.literalExample "http://prometheus:9090/"; - default = "http://prometheus:9090/"; + default = "http://localhost:9090/"; description = "The URL of the Prometheus host to access"; }; lokiUrl = lib.mkOption { type = lib.types.str; example = lib.literalExample "http://loki:3100/"; - default = "http://loki:3100/"; + default = "http://localhost:3100/"; description = "The URL of the Loki host to access"; }; };