fix(tempo): health-check with the tempo binary — the 3.x image has no wget
Some checks failed
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / notebooks-smoke (push) Has been cancelled
Deploy / changes (push) Has been cancelled
Deploy / notebooks (push) Has been cancelled
Deploy / zotero (push) Has been cancelled
Deploy / docs (push) Has been cancelled
Deploy / api (push) Has been cancelled
Deploy / bcda (push) Has been cancelled
Deploy / llm (push) Has been cancelled
Deploy / mc (push) Has been cancelled
Deploy / report (push) Has been cancelled

grafana/tempo 3.x is distroless, so the compose healthcheck's wget was
'executable file not found' and the container sat unhealthy while Tempo
was ready. `/tempo -health` checks the same /ready endpoint.

Rolled live on 3.1.1: healthy; an OTLP span round-trips; trino, traefik,
api and llm traces arrive; and traces from before the upgrade still
come back from search across the 80 stored blocks.
This commit is contained in:
kert
2026-10-29 19:35:44 -04:00
parent ae25d2714a
commit 37348ab303

View File

@@ -833,7 +833,8 @@ services:
- tempo_data:/var/tempo
command: -config.file=/etc/tempo/config.yaml
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3200/ready"]
# Tempo 3's image is distroless (no wget/sh); its binary checks /ready.
test: ["CMD", "/tempo", "-health"]
interval: 30s
timeout: 5s
retries: 5