Upgrade Prometheus to 3.13.2 LTS, Alertmanager to 0.34.0, Node Exporter to 1.12.1 - #644
Conversation
….34.0, Node Exporter to 1.12.1 Prometheus 3.13 is the current LTS (supported until 2027-07-31); the 3.5 LTS reached end of support on 2026-07-31. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013pw9DLYCn7sGHF197pKY7C
Requires Alertmanager 0.30. Notifications are threaded per alert group per day (the default thread_by_date: daily). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013pw9DLYCn7sGHF197pKY7C
Requires Prometheus 3.11. Move the retention time from the --storage.tsdb.retention.time flag, deprecated in Prometheus 3.13, to the configuration file, so that retention changes take effect on reload instead of restart, and add a percentage-based cap as a backstop. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013pw9DLYCn7sGHF197pKY7C
Node Exporter 1.10 takes superblock options into account for node_filesystem_readonly, making it reliable for detecting emergency read-only remounts. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013pw9DLYCn7sGHF197pKY7C
Breaking changes reviewEvery Prometheus 3.5.0 → 3.13.2 (changelog)
Alertmanager 0.28.1 → 0.34.0 (changelog)
Node Exporter 1.9.1 → 1.12.1 (changelog)
Data on disk (the documented concern)The server upgrade stays within the 3.x major version, and no TSDB, silence, or notification-log format changes appear in any of the changelogs, so the data in Generated by Claude Code |
New features reviewFeatures and enhancements between our versions and the targets that are relevant to this deployment. The first four are adopted in this PR; the rest need no configuration. Adopted in this PR
Available with no configuration
Not relevant to this deployment: native histograms, remote-write 2.0, OTLP ingestion, cloud service discovery (AWS/Azure/Hetzner/Outscale), and chat integrations (Slack/Mattermost/Telegram/Discord). Generated by Claude Code |
f5268d1 to
f360606
Compare
|
The commit that enabled the TSDB admin API and documented series deletion in Instead, we rely on the retention schedule: a deleted server's series stop receiving samples immediately, so they only occupy historical blocks and expire within the 120-day retention window — now also bounded by the 70% disk-usage cap added in this PR. Generated by Claude Code |
|
Deployed all except registry, as scrapers are running. |
Annual Prometheus upgrade, following the documented process. Prometheus 3.13 is the current LTS (supported until 2027-07-31); the 3.5 LTS reached end of support on 2026-07-31.
One commit per change:
pillar/prometheus_client.sls,pillar/prometheus_server.sls).--storage.tsdb.retention.timeflag (deprecated in 3.13) to the configuration file, so retention changes take effect on reload instead of restart.node_filesystem_readonlyreliable by taking superblock options into account.Stale time series of deleted servers are left to expire on the retention schedule, rather than enabling the TSDB admin API for Prometheus 3.12's series deletion web interface (see comments).
The rendered
conf-prometheus.yml,conf-prometheus-rules.yml(22 rules), andconf-alertmanager.ymlwere validated withpromtool check config(3.13.2) andamtool check-config(0.34.0). The breaking-changes and new-features reviews follow in separate comments.Deploy notes: upgrading the server and Alertmanager requires deploying the
prometheustarget; upgrading Node Exporter requires deploying all targets.🤖 Generated with Claude Code
https://claude.ai/code/session_013pw9DLYCn7sGHF197pKY7C