telegraf: bump 1.28 -> 1.33 -- docker-ce 29 rejects the pinned API 1.24

telegraf 1.28's [[inputs.docker]] hardcodes Docker API version 1.24, which
docker-ce >= 29 refuses (min supported API 1.40), so every per-container
stack metric (cpu/mem/net/blkio/health) silently never reached InfluxDB.
DOCKER_API_VERSION is ignored (version pinned in code); newer telegraf
negotiates the API version with the daemon. Verified docker_container_*
measurements land in the telemetry bucket after the bump.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Sam 2026-07-20 15:54:13 -07:00
parent 83fd2be145
commit 128af14975

View File

@ -1,2 +1,5 @@
FROM telegraf:1.28-alpine
# 1.30+ required: older telegraf pins Docker API 1.24 in [[inputs.docker]],
# which docker-ce >= 29 rejects (min supported API 1.40). Newer telegraf
# negotiates the API version with the daemon.
FROM telegraf:1.33-alpine
COPY telegraf.conf /etc/telegraf/telegraf.conf