diff --git a/cluster/services/monitoring/client.nix b/cluster/services/monitoring/client.nix index 3cdfb83..ea7f017 100644 --- a/cluster/services/monitoring/client.nix +++ b/cluster/services/monitoring/client.nix @@ -26,7 +26,7 @@ in { name = "logging"; positions.filename = "\${STATE_DIRECTORY:/tmp}/logging-positions.yaml"; clients = singleton { - url = "${cluster.config.ways.monitoring-logs.url}/loki/api/v1/push"; + url = "${cluster.config.ways.ingest-logs.url}/loki/api/v1/push"; }; scrape_configs = singleton { job_name = "journal"; diff --git a/cluster/services/monitoring/default.nix b/cluster/services/monitoring/default.nix index 1678fe3..49af8f6 100644 --- a/cluster/services/monitoring/default.nix +++ b/cluster/services/monitoring/default.nix @@ -99,6 +99,13 @@ in extras.locations."/".proxyWebsockets = true; }; monitoring-logs = { + internal = true; + consulService = "loki"; + extras.extraConfig = '' + proxy_read_timeout 3600s; + ''; + }; + ingest-logs = { internal = true; consulService = "loki"; extras.extraConfig = ''