Skip to content

chore(monitoring): pin the monitoring images instead of tracking :latest - #104

Open
feafel wants to merge 1 commit into
inkonchain:mainfrom
feafel:chore/pin-monitoring-images
Open

feafel wants to merge 1 commit into
inkonchain:mainfrom
feafel:chore/pin-monitoring-images

Conversation

@feafel

@feafel feafel commented Nov 12, 2026

Copy link
Copy Markdown

What

-    image: ethereumoptimism/replica-healthcheck:${IMAGE_TAG__HEALTHCHECK:-latest}
+    image: ethereumoptimism/replica-healthcheck:${IMAGE_TAG__HEALTHCHECK:-1.2.6}
-    image: prom/prometheus:${IMAGE_TAG__PROMETHEUS:-latest}
+    image: prom/prometheus:${IMAGE_TAG__PROMETHEUS:-v3.16.0}

Both keep their IMAGE_TAG__* override, so nothing is locked in for users who set a tag.

Why

Everything else in the stack is versioned (op-reth:v2.6.0, op-node:v1.19.8, and Grafana is pinned in #101), but these two sidecars follow :latest. A floating tag means the container can change without any commit — no changelog, no way to bisect a monitoring regression, and a fresh docker compose pull is not reproducible.

  • healthcheck — ethereumoptimism/replica-healthcheck was last published 2023-07-20, so :latest has been frozen on 1.2.6 for over three years. There is no upside to tracking a tag that never moves; pinning simply documents what everyone is already running.
  • prometheus — :latest currently resolves to v3.16.0 (checked on Docker Hub). Pinning keeps today's behaviour and makes it explicit.

Verification

  • docker-compose.yml parses; the resulting images are
    ethereumoptimism/replica-healthcheck:1.2.6 and prom/prometheus:v3.16.0
  • IMAGE_TAG__HEALTHCHECK / IMAGE_TAG__PROMETHEUS remain documented in .env.example and still take precedence
  • Prometheus's scrape config (docker/prometheus/prometheus.yml) uses the standard global/scrape_configs format that is unchanged in v3, and the service has no custom command: that could be version-sensitive

Pairs with #101 (Grafana off EOL 9.3.0).

Two services follow a floating tag:

- healthcheck: ethereumoptimism/replica-healthcheck:latest
- prometheus:  prom/prometheus:latest

A floating tag means the image can change under an operator's feet with no
repo change and no way to roll back by commit. For the healthcheck that risk is
purely downside: the image was last published 2023-07-20, so :latest has been
frozen on 1.2.6 for over three years - pinning just makes that explicit. For
Prometheus, :latest currently resolves to v3.16.0; pinning keeps the current
behaviour while making it reproducible.

The IMAGE_TAG__HEALTHCHECK / IMAGE_TAG__PROMETHEUS overrides in .env.example
keep working, so anyone who wants a different tag can still set it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants