mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-14 14:17:16 +00:00
fix: drop explicit journal path and bump alloy to v1.16.0
`loki.source.journal "default"` no longer pins `path = "/var/log/journal"`. Upstream omits the field, which lets Alloy default to BOTH `/var/log/journal` (persistent) and `/run/log/journal` (volatile). The explicit path silently dropped journal logs on hosts with volatile-only storage. Matches the canonical Linux Node integration template. Also bumps the image six minor versions to current stable. Doc records the 2026-04-26 re-audit.
This commit is contained in:
1 parent
9399a8b115
commit
2a24eaf10b
2 files changed
+6
-2
No files matched your search
@@ -4,7 +4,7 @@
|
||||
|
||||
services:
|
||||
alloy:
|
||||
image: grafana/alloy:v1.10.0
|
||||
image: grafana/alloy:v1.16.0
|
||||
container_name: alloy
|
||||
restart: unless-stopped
|
||||
hostname: ${ALLOY_HOSTNAME:?required}
|
||||
@@ -165,7 +165,6 @@ configs:
|
||||
|
||||
loki.source.journal "default" {
|
||||
max_age = "12h0m0s"
|
||||
path = "/var/log/journal"
|
||||
forward_to = [loki.process.default.receiver]
|
||||
relabel_rules = loki.relabel.default.rules
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user