From bc431a3a2ae37ad277fb5937776be8892ff7df1d Mon Sep 17 00:00:00 2001 From: Robert Helewka Date: Sat, 30 May 2026 09:37:15 -0400 Subject: [PATCH] refactor(alloy): remove athena syslog listener in favor of docker logs --- ansible/alloy/puck/config.alloy.j2 | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/ansible/alloy/puck/config.alloy.j2 b/ansible/alloy/puck/config.alloy.j2 index ab77558..0874827 100644 --- a/ansible/alloy/puck/config.alloy.j2 +++ b/ansible/alloy/puck/config.alloy.j2 @@ -91,19 +91,11 @@ loki.source.syslog "angelia_logs" { forward_to = [loki.write.default.receiver] } -loki.source.syslog "athena_logs" { - listener { - address = "127.0.0.1:{{athena_syslog_port}}" - protocol = "tcp" - syslog_format = "{{ syslog_format }}" - labels = { - job = "athena", - hostname = "{{inventory_hostname}}", - environment = "{{deployment_environment}}", - } - } - forward_to = [loki.write.default.receiver] -} +// Athena used to ship via syslog on {{athena_syslog_port}}; it logs to +// container stdout and is now picked up by the docker-socket block below +// (service="athena", component=app/mcp/nginx). The host_var is retained as a +// reserved port number but no listener binds to it — remove the var from the +// inventory when the rollout is verified. loki.source.syslog "kairos_logs" { listener {