refactor(alloy): remove athena syslog listener in favor of docker logs
This commit is contained in:
@@ -91,19 +91,11 @@ loki.source.syslog "angelia_logs" {
|
|||||||
forward_to = [loki.write.default.receiver]
|
forward_to = [loki.write.default.receiver]
|
||||||
}
|
}
|
||||||
|
|
||||||
loki.source.syslog "athena_logs" {
|
// Athena used to ship via syslog on {{athena_syslog_port}}; it logs to
|
||||||
listener {
|
// container stdout and is now picked up by the docker-socket block below
|
||||||
address = "127.0.0.1:{{athena_syslog_port}}"
|
// (service="athena", component=app/mcp/nginx). The host_var is retained as a
|
||||||
protocol = "tcp"
|
// reserved port number but no listener binds to it — remove the var from the
|
||||||
syslog_format = "{{ syslog_format }}"
|
// inventory when the rollout is verified.
|
||||||
labels = {
|
|
||||||
job = "athena",
|
|
||||||
hostname = "{{inventory_hostname}}",
|
|
||||||
environment = "{{deployment_environment}}",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
forward_to = [loki.write.default.receiver]
|
|
||||||
}
|
|
||||||
|
|
||||||
loki.source.syslog "kairos_logs" {
|
loki.source.syslog "kairos_logs" {
|
||||||
listener {
|
listener {
|
||||||
|
|||||||
Reference in New Issue
Block a user