Why a Prometheus LTS 3.5 to 3.13 upgrade cannot wait
If your Prometheus server still runs LTS 3.5, it is past the point where it receives bug fixes. LTS 3.5 reached end of life on July 31, 2026, and under the project's release cycle policy a long-term support line receives bug fixes for one year. The current line is LTS 3.13, released July 1, 2026 and supported until July 31, 2027. Every month on 3.5 is a month in which a defect found in the server or its storage layer will not be patched on that line, so the question for your team is no longer whether to upgrade but how soon the upgrade can be scheduled and tested.
The jump is larger than the version numbers suggest. Prometheus publishes a new minor release every six weeks, and a minor release generally stops receiving fixes once the next one ships. LTS 3.13 therefore sits several minor releases ahead of 3.5, and the changes in between, covering configuration, rule behavior, storage and web and API handling, arrive together. Confirm which intermediate release you are on today, check the GitHub release notes for each minor version between it and 3.13, and list every change that touches your configuration, rules, scrape targets and dashboards before you pick a target. The overview of the project's releases on GitHub shows the patch versions in the 3.13 line, and you should pin to a current patch rather than the first LTS build.
Treat the LTS line as a yearly rhythm, not a one-off project. Each LTS line gets roughly one year of fixes, so a team that upgrades to 3.13 now should plan the next move to the LTS line that follows it before July 31, 2027, with time to test. Ask your provider or internal team to confirm three things in your own environment: the Prometheus version and deployment method (binary, container or Kubernetes operator), whether any alerting or recording rules depend on behavior that changed, and who approves production changes and when. Those answers determine how much testing the upgrade needs and whether you have a window before the 2027 support end date.
Which changes accumulated between 3.5 and 3.13
This table lists the change areas to review between Prometheus 3.5 and the LTS 3.13 line, with the impact of each and the action to take. It does not record individual release changes, so confirm every entry against the GitHub release notes for each intermediate release before planning. Most breakage tends to appear in configuration, query results and remote write, which a canary server can catch before cutover.
| Change area | Impact to check | Action needed |
|---|---|---|
| Configuration keys and defaults | Keys renamed, removed or given new defaults can change behavior without an error | Run promtool check config with the 3.13 binary and diff the effective configuration |
| Command-line flags | Flags deprecated or removed in the range can stop the process from starting | Compare the service unit or container command line with the 3.13 flag list |
| PromQL and query results | Function behavior, label handling or edge cases can shift alert and dashboard values | Run rule unit tests and compare key dashboard queries on a canary server |
| Scrape behavior | Changes to scrape handling or validation can drop or alter series for some targets | Check target health and series counts per job after the canary scrape |
| Remote write and remote read | Changes to queue behavior or protocol details affect long-term storage ingestion | Confirm receiver compatibility and watch remote write failure and queue metrics after cutover |
| Removed or disabled features | Removed features and admin endpoints disabled by default break scripts and tooling | Check whether admin APIs and lifecycle endpoints are enabled and whether automation calls them |
| Alertmanager integration | Alert delivery depends on how Prometheus reaches each Alertmanager instance | Confirm Prometheus lists every Alertmanager instance and test a firing alert end to end |
How intermediate releases change the upgrade effort
Skipping from 3.5 to 3.13 means the team must review every minor release in between, not just the final one. Prometheus starts a new minor release cycle every 6 weeks, and a minor release generally stops receiving bug fixes after those 6 weeks. The intermediate minors therefore carry changes that were never backported to 3.5, and none of them will receive fixes, so the review is a planning task, not a formality. Build a single change inventory from the release notes for each minor between 3.5 and 3.13, and mark every entry as either configuration-only or behavior-changing. The release notes are the primary input, and the Prometheus GitHub releases page is the natural place to collect them.
A configuration-only change is one where the existing prometheus.yml, rule files or flags still load, but the setting now means something different or has a new default. For these, the check is a promtool check config run against the new binary and a diff of the rendered configuration, followed by a review of any flags removed or renamed in the release notes. A behavior-changing entry is harder: it can alter query results, label values, scrape parsing or what gets written to disk. For these, the team must compare query output on a canary server against the 3.5 baseline, check that alert rules still fire on the same series, and confirm which stored data is affected, because a rollback after storage has changed may not be possible. Ask your DeployOpen or internal owner to record each behavior-changing entry with an owner and a test that proves it is handled.
What to back up and inventory before touching the server
Nothing in the upgrade is hard to reverse until storage or configuration has changed, so the work before the first binary swap decides how safely you can go back. These cards cover the data, the configuration, the rules and dashboards, the downstream targets and a test environment that together let you prove the upgrade works.
Back up the TSDB data directory
Take a consistent copy of the data directory and the configuration file before the upgrade starts. Prometheus stores data in two-hour blocks with a write-ahead log, and local storage is not clustered or replicated, so a single node's disk is your only copy unless remote write has been sending samples elsewhere. Confirm the backup restores on a scratch host and that the Prometheus process is stopped or snapshotted cleanly when it is taken.
- Default retention
- 15 days
Version-control the configuration
Record the exact prometheus.yml, any web.yml TLS and basic auth file, service discovery files and the startup flags in the unit file or container spec. The upgrade may change defaults or deprecate settings, and you need the pre-upgrade state to diff against. Note any admin API or lifecycle flags in use, since those endpoints are disabled by default and their status should be confirmed after the move.
Inventory rules and alerts
List every recording and alerting rule file, with its owner and the alerts it feeds. Run promtool against the current rules so you have a clean baseline. Rules are where behavior changes surface, and an unlisted rule group will not be tested. Mark which alerts page someone, because those are the ones whose silence after the upgrade would be most costly.
Catalog dashboards and exporters
Export or list every Grafana dashboard that queries this Prometheus, along with the PromQL it uses and the exporters that supply each series. Note exporter versions and the metric names they emit, because a changed name or label set breaks panels silently. Ask each dashboard owner to confirm which panels they rely on, so testing covers what people actually look at.
Document Alertmanager and remote write
Record every Alertmanager URL Prometheus sends to, the receivers behind them, and any silences or inhibitions that are active. Do the same for remote write and remote read endpoints, including authentication and queue settings. These are the outputs a broken upgrade would cut off without any visible error on the Prometheus side, so each one needs a named check after cutover.
Alertmanager docsBuild a test environment
Stand up a non-production Prometheus with a copy of the configuration, rules and a sample of production targets, then run the upgrade there first. Point it at the same Alertmanager in a test route, not production receivers, so no live pages fire. Keep the environment long enough to compare query results against production over a normal cycle of traffic and alerting before you approve the change.
Upgrade sequence from 3.5 to 3.13 with rollback points
This sequence moves a Prometheus estate from the end-of-life 3.5 line to LTS 3.13 in controlled stages, with a check and a rollback point at each stage so the team knows exactly how far it can still step back.
Freeze changes and snapshot current state
Pause configuration changes, rule edits and unrelated maintenance on the Prometheus servers and Alertmanager instances for the upgrade window. Record the running version, the configuration files, the rule files, the Alertmanager configuration and the storage directory location. Take a filesystem or volume snapshot of the Prometheus data directory and copy the configuration to version control. This is the first rollback point: restoring the snapshot and the 3.5 binaries returns the server to its prior state, provided no upgraded process has written to storage. Done when the snapshot restores cleanly in a scratch location and the team has written down the exact current versions.
Run promtool checks on configuration and rules
Run promtool against the current configuration, every rule file and any web configuration file using the 3.13 binary, so that syntax and schema problems surface before any server restarts. Treat each warning as a task to resolve or accept in writing. Run the rule unit tests in CI against the new binary, since rule evaluation behavior is the most likely place for silent changes to appear. Done when all checks pass with no unexplained warnings and the results are attached to the change record. Nothing has changed on the running system at this point, so no rollback is needed.
Upgrade a canary server to 3.13
Upgrade one non-critical Prometheus server to 3.13 that scrapes the same kinds of targets as production, ideally with its own copy of the rules and its own Alertmanager route for test alerts. Start it against a copy of the production configuration and confirm it begins scraping and evaluating rules without errors in its logs. The canary is the first point where the on-disk storage is written by the new version. Rolling back the canary is possible only from the snapshot taken in step one, and only if the upgraded server has not yet written blocks that the 3.5 binary cannot read. Confirm the storage behavior with the vendor documentation before relying on that path. Done when the canary runs for an agreed observation period with clean logs.
Compare queries and alerts on the canary
Run a fixed set of production dashboard queries and alerting expressions against both the 3.5 production server and the 3.13 canary over the same time range. Compare the results for label names, series counts, histogram buckets, regex matching and staleness handling, and look specifically at the queries that changed between 2.x and 3.x if they still exist in your estate. Confirm that alerts which should fire in a controlled test fire on the canary and reach the expected receivers. Done when every difference is explained, either as an intended correction or as a query that needs editing before rollout. Record the decision in the change log. Rollback is still possible for the canary at this stage.
Roll forward production servers
Upgrade production Prometheus servers one at a time, starting with the least critical, using the same binary, configuration and rule files tested on the canary. Keep the previous snapshot and binary available until the step is complete. After each server is upgraded, confirm it has started, loaded configuration and begun evaluating rules before moving to the next. Once a production server has written new storage blocks, returning it to 3.5 may not be possible without restoring from the snapshot, so record the time each server passed this point. Done when every production Prometheus server reports the 3.13 version and no restart errors remain in the logs.
Verify targets and Alertmanager delivery
Check the Prometheus targets page or API for each job to confirm that the expected targets are up and that service discovery has not dropped any of them. Then send a test alert through each Prometheus instance to every Alertmanager instance it is configured to use, and confirm that the notification reaches each receiver, including grouping, inhibition and silences as they are configured. Prometheus should point at every Alertmanager instance rather than a load balancer, so verify each one separately. Done when target counts match the pre-upgrade record, test alerts are delivered to every receiver, and no notification is lost or duplicated. Rollback at this stage would affect live monitoring, so decide before this step whether to roll back or fix forward.
Record the rollback limit and close the change
Write down the final state: versions running on every server, the time each server passed its storage-change point, the snapshot locations and their retention, and the owner of any rollback decision after that point. State plainly that once storage has been written by 3.13, rolling back means restoring from snapshot and accepting the loss of data written after the snapshot. Schedule the next LTS review so the team tracks the support window for 3.13, which the release cycle page lists as supported until July 31, 2027. Done when the change record is signed off by the service owner and the rollback limit is recorded where operators will find it.
Testing rules and dashboards before cutover
Before cutover, the goal is to prove that your recording rules, alerting rules and Grafana dashboards produce the same answers on 3.13 that they produce on 3.5, or that every difference is understood and accepted. Start with promtool test rules against the unit test files kept alongside your rule files, and run them in CI on the 3.13 binary. Rule unit tests catch syntax problems and logic errors in individual expressions, but they only use the synthetic series you write, so they do not show how production data behaves. Confirm with your rule owners that every alert that pages someone has at least one test with an expected firing and an expected silence, and that the for durations and label sets in those tests match production.
Next, compare query results on the same data. Run the same PromQL expressions against a 3.5 server and a 3.13 server that scrape the same targets or read the same copied blocks over a fixed window, then diff the results series by series, including label sets, not only the values. Pay particular attention to queries that use regex matchers, aggregations that depend on label presence, and any expression that touches histogram buckets. The release notes for each intermediate minor release, which you can review on the Prometheus GitHub releases page, are the place to check which behaviors changed between your current line and 3.13. Treat every difference as a finding with an owner and a decision: fix the query, accept the change in writing, or hold the cutover.
Finally, check Grafana dashboards for panels that depend on changed behavior. Export the dashboard JSON, list every PromQL expression, and flag those that use changed matchers, label names, histogram functions or time-range functions. Load each flagged panel against both servers and compare what an on-call engineer would actually read, including legends, units and thresholds. Confirm which dashboards are used in incident response, because those need the strictest sign-off. The detailed test routine, including the canary setup and rollback limits once storage has changed, is covered on the separate page for testing Prometheus upgrades, so use that page as the step-by-step guide and this section as the checklist of what must pass.
Choosing between in-place upgrade and a parallel server
An in-place upgrade replaces the binary on the existing server, keeps the same configuration and storage directory, and restarts the process onto 3.13. It is the smaller change: one host, one set of scrape jobs, one rule evaluation path, and one Alertmanager configuration to keep consistent. The cost is that the outage window and the rollback path are tied to the single server, and storage written by the newer version becomes the only copy of recent history.
- Storage: the time series database is shared by old and new binaries, so the rollback target is the old binary plus a restored data directory, not the same data directory as it stood before the change.
- Rollback: returning to 3.5 means reinstalling the older binary and restoring from a backup taken before the upgrade. Confirm the backup and restore procedure works on a copy before relying on it.
- Alert gap: while the process restarts, rules are not evaluated, so alerts that depend on a short window can be missed or delayed. Check how your Alertmanager handles the gap.
- Duplicate notifications: none from the upgrade itself, since only one server sends alerts.
- Scope of change: any configuration fixes required for 3.13 apply to every consumer at once.
Before choosing this path, confirm that your backup restores into a test host running 3.5, and that your maintenance window accommodates a restart plus validation of queries and rules.
A parallel server runs 3.13 next to the 3.5 server, with both scraping the same targets and evaluating the same rules. Dashboards and integrations move to the new server when its query results match the old one. The old server stays in place as a fallback until you retire it. This approach keeps the existing data intact, but it doubles scrape load on targets and introduces a period where two systems hold overlapping history.
- Storage: each server keeps its own local database, so the new server starts with empty history unless you backfill or attach long-term storage. Plan how dashboards will read older data during the overlap.
- Rollback: switching back is a repointing of dashboards and Alertmanager senders to the 3.5 server, which has not been changed.
- Dual alerting risk: both servers can fire the same alert. Decide which one is authoritative before cutover, and keep the other silent or in a test receiver.
- Duplicate notifications: if both servers route to the same receivers during overlap, on-call teams receive two pages for one problem. Confirm how grouping and silences are applied across the two instances.
- Extra load: scrape traffic, rule evaluation and storage run twice for the overlap period, so confirm target capacity and disk headroom.
Before choosing this path, decide who owns each alert during overlap, document the cutover order, and confirm the planned retirement date for the 3.5 server.
The choice turns on three questions: how much history the new server must show on day one, how much duplicate alerting your on-call process can tolerate, and how quickly you need a return path if 3.13 behaves differently in your environment. A single small server with a tested backup often suits the in-place path. A monitoring estate that feeds many teams, or that pages on critical services, usually benefits from the overlap that a parallel server provides, provided alert ownership is clear.
- History needs: if dashboards rely on long lookback windows, the in-place path avoids a gap, while a parallel server needs backfill or remote storage.
- Alert ownership: a parallel server requires a named owner for each alert group during overlap.
- Receiver design: check whether your Alertmanager deployment and receivers can be split without losing routing or silences.
- Capacity: parallel running requires spare CPU, memory and disk for two servers, which is a recurring cost while overlap lasts.
- Team skills: both paths require the same test routine before cutover.
Before deciding, confirm your rollback requirement, the storage retention you need, and the Alertmanager arrangement in your environment.
Setting a yearly LTS upgrade rhythm
A long-term support line gives you one year of bug fixes, which means the upgrade clock is set by the release calendar, not by your project. The cards below cover the steps that keep the next move from becoming another emergency, from tracking the next line to recording why each upgrade happened.
Know the support window
An LTS line receives bug fixes for one year. For this move, LTS 3.13 was released July 1, 2026 and is supported until July 31, 2027, while LTS 3.5 reached end of life on July 31, 2026. Write these dates into your operations calendar and treat the end date as the hard deadline for the next cutover, not the date you planned to start testing.
Release cycle docsTrack the successor line
Watch the GitHub releases page for each new LTS line and its patch releases, and note which minor releases between LTS lines carry features you may depend on. Review the release notes for changes to scrape handling, PromQL behavior, storage and deprecated flags. Assign one person to read them, so the review is not left to whoever notices a new version first.
Prometheus releasesSchedule the test cycle early
Start the test cycle for the successor line well before the current line ends, so there is time to fix rules, dashboards and exporters that break. Use promtool checks, rule unit tests and a canary server as the standard routine. Put the test window on the calendar with a named owner, and block a rollback decision point before production changes begin.
Own the release review
Name one person who signs off each upgrade after reading the release notes and test results. This owner decides whether a patch is applied quickly or held for the next line. Without a named reviewer, security fixes in patch releases can sit unreviewed while teams argue about scope.
Assign Alertmanager and exporter owners
Alertmanager and each exporter have their own release cadence and compatibility matrix, and a Prometheus upgrade can break routing, receivers or scrape targets that depend on them. Assign an owner for each component who checks compatibility before the Prometheus cutover, confirms receiver configuration still loads, and tracks exporter versions that need updating.
Record each upgrade decision
Keep a dated record for every upgrade: the version moved to, the test results, the rollback limits that applied, the approver and any queries or alerts that changed. This record is the evidence your team and auditors will ask for when they review how monitoring changes were controlled. Store it alongside your configuration as code.
What makes a Prometheus LTS upgrade take longer
This table compares the factors that change how much work an upgrade from LTS 3.5 to 3.13 involves, what each factor changes, and what to ask for in a quote. Read each row against your own estate, since the same driver can add a few days of checking in one environment and weeks in another.
| Driver | Why it changes effort | What to ask for in a quote |
|---|---|---|
| Number of rules and dashboards | Every alert rule and recording rule must be checked with promtool and compared on a canary server. Dashboards with many PromQL panels need query comparison, and label or histogram changes can alter results silently. | A count of rule groups, alert rules and dashboards in scope, and whether unit tests already exist in CI |
| Custom exporters | Each exporter has its own build, dependency and metric naming. Exporters that depend on older client libraries or Prometheus internals may need code changes or rebuilds before the upgrade. | A list of exporters, who maintains each one, and which ones are pinned to older library versions |
| Remote write or long-term storage in use | Remote write senders and receivers must be checked for compatibility and sample handling. Rollback is harder once a long-term store has received data from the new version. | Which remote write targets or long-term stores are connected, their versions, and the planned rollback point |
| Alertmanager clustering | Prometheus must reach every Alertmanager instance, so each node, cluster peer and configuration must be verified. Clustered setups need a staged rollout to avoid duplicate or missed notifications. | Number of Alertmanager instances, cluster settings in use, and the order in which nodes will be upgraded |
| Data volume and retention | Larger time series databases take longer to snapshot, back up and validate. Retention settings and storage size affect how long a restore or rollback test runs. | Current storage size, retention by time or size, and the backup and restore test plan |
| TLS and authentication setup | Web configuration files, client certificates and basic authentication hashes must be re-checked with promtool. Reverse proxies and SSO layers in front of Prometheus may also need updates. | Whether TLS, client certificates or basic auth are used, and which reverse proxy or SSO component sits in front |
| Number of teams relying on alerts | More teams mean more sign-off, more notification routes to verify and a longer agreed test window. Changes to alert behavior must be explained to on-call staff before cutover. | Number of teams and receivers affected, who signs off on alert behavior, and the agreed communication plan |
What buyers ask before hiring help with a Prometheus upgrade
What drives the cost of a Prometheus LTS upgrade?
The cost is driven by how much existing configuration, alert rules and dashboards must be reviewed and retested, how many Prometheus servers and environments are involved, and how many queries depend on behavior that changed between releases. Prometheus itself is licensed under Apache-2.0 with no paid edition, so the spend is on implementation labor, test infrastructure, storage and the people who run the service. Ask for a quote that separates the one-time work (inventory, rule and query review, canary comparison, cutover) from recurring work such as the yearly LTS upgrade and patch handling. DeployOpen does not publish prices; a quote follows from the written scope.
How long does a move from LTS 3.5 to 3.13 take?
Duration depends on the number of servers, the size of the rule and dashboard estate, and how many environments need a canary run before production. The 3.5 line reached end of life on July 31, 2026, so the work has a clear external deadline, while LTS 3.13 is supported until July 31, 2027. Confirm the planned timeline in the written scope, including who approves the cutover window and how long the canary comparison runs. Any duration you are given should trace back to that scope rather than to a generic estimate.
What does the client need to provide for the upgrade?
Expect to provide access to the Prometheus configuration, rule files, web configuration and Alertmanager settings, plus a list of dashboards and the teams that depend on them. You also need a non-production environment or a canary host where the new version can receive the same scrape targets, a maintenance window for cutover, and named owners who can confirm that alerts and queries still behave as expected. If storage is in use, confirm backup status before the change. Agree these inputs in writing so the schedule does not depend on discovery work that could have been done earlier.
Can our internal team run this upgrade without a partner?
Yes, many teams do, provided they have someone who understands PromQL, alert rule design and their scrape topology, and they allow time for testing. The usual gap is not the upgrade command but the verification: comparing query results, checking that every alert still fires and routes correctly, and confirming that dashboards render the same data. Use the Prometheus release cycle page to confirm the support dates for your target line, then decide whether your team can finish the test routine before 3.5 stops receiving fixes. A partner is most useful when internal staff are already committed elsewhere.
What happens if we need to roll back after the upgrade?
A rollback is simple only while the Prometheus binary and configuration are the only changes. Once the new version has written to the local time series database, moving back to an older binary may not be a clean reversal, so the plan should state the rollback limits before cutover. Confirm whether the storage format has changed for your release, decide whether you will keep a copy of the data directory, and define the point after which rollback is no longer offered. Testing the rollback on the canary host is the only way to know it works in your environment.
How do we keep the yearly LTS upgrade rhythm going?
The rhythm works when someone owns a calendar reminder for each new LTS line and the team repeats the same test routine each year. The release cycle page sets out how long each LTS line receives bug fixes, so plan the next move well before the end-of-life date of the current line. Recurring work includes tracking patch releases on the current line, rerunning rule tests in CI, updating dashboards for deprecated functions, and recording the results. Ask any partner whether a retainer covers these recurring steps and how the yearly cycle is priced in the quote.
Does DeployOpen issue an audit report or certification for the upgrade?
No. DeployOpen plans, implements and documents the upgrade and can prepare the change records, test evidence and configuration exports that an assessor may ask for. Independent auditors and certification bodies issue any audit reports, attestations or certifications, based on their own review. If your ISO 27001, SOC 2 or DORA evidence depends on Prometheus change records, confirm with your assessor which artifacts they accept before the engagement is scoped.
How the canary, production and rollback paths fit together
The upgrade starts with a backup and promtool checks on the current 3.5 configuration and rules. Those checks gate a canary server running 3.13, where queries and alert evaluations are compared against production. A go decision leads to production cutover; a no-go sends the team back to rollback, which is only safe while storage has not changed. The yearly review loop feeds the next LTS line back into the start of the process. Check the rollback branch first, because it depends on what the new version wrote to storage.
Decision path from backup through canary comparison to cutover or rollback.
How DeployOpen scopes and delivers a Prometheus upgrade
DeployOpen approaches the move from LTS 3.5 to LTS 3.13 as a written, fixed-scope engagement. We start with your current configuration, rules, dashboards and integrations, then plan, test and document the upgrade inside your own infrastructure before any production change.
How we scope
- Inventory of your running Prometheus version, scrape configs, rule files, Alertmanager routing and remote write targets
- Written list of dashboards, alert rules and PromQL queries that must be checked against the 3.13 line
- Agreed deliverables, environments in scope and acceptance criteria, confirmed in writing before work starts
How we build
- Review of release notes from 3.6 through 3.13 to map changes that affect your configuration and queries
- Promtool validation of configuration, rules and web config, plus rule unit tests added to your CI pipeline
- Canary server run comparing query results and alert behavior against your current production instance
How we hand over
- Upgrade runbook with step order, pre-checks, rollback limits and the points where storage changes make rollback impractical
- Updated configuration, rule files and dashboards committed to the version control you choose
- Documentation of the test evidence collected during the engagement, for your team and your compliance reviewers
How we support
- Engagements are fixed-scope, and the written scope defines what happens after handover
- Ongoing support, LTS upgrade planning for each future yearly cycle and continuous testing are available as retainers
- Support scope, response expectations and retainer terms are confirmed in writing and quoted separately from the project

