Loki upgrade planning: how release cadence should shape your version choice

Teams running Loki need a version policy before the next release lands. This page explains how Loki ships releases, which builds belong in production and how to build an upgrade calendar around them.

On this page

Why a Loki upgrade needs a calendar before it needs a version number

If you run a self-hosted Loki cluster, your job is to stay on a supported release line, pin the version you run, and plan upgrades on Loki's published cadence rather than on whichever build is newest. A release calendar tells you when a major, minor or patch release is expected, so your team can schedule staging tests, change windows and rollback plans before anyone is under pressure. Treat the version number as the output of that calendar, not the starting point.

The calendar matters because Loki upgrades are not simple binary swaps. Moving between major lines can change the index schema, the object storage layout, default limits and configuration keys, and the supported path is to step through the official upgrade guide in the order it describes, not to jump straight to the latest tag. Each step needs its own check of your loki.yaml, your storage backend and your retention settings. A cluster that falls several releases behind will face all of those changes at once, which is the situation a calendar is meant to prevent.

Start by confirming the current release on the Loki releases on GitHub page before you set a plan. At the time this page was prepared, the reference point was v3.7.8, published September 17, 2026, but you must confirm the current release on the day you plan, because the cadence means newer patch releases will appear. Record the release line you run, the date you last reviewed it and the next review date, so the calendar is an owned document with an owner, not a memory.

How often Loki ships major, minor, patch and weekly releases

Loki major releases arrive roughly once a year and carry the largest changes: storage and schema defaults, removed options and deprecations that shape the next several years of operation. Treat a major release as a project with its own plan, test window and rollback path, not as a routine update. Platform teams that own the Loki cluster should run it, with the application owners who depend on query behavior and the security team who depends on retention and access settings involved in the decision.

  • Timing: plan one major upgrade per year at most, and read the release notes before choosing a target.
  • Scope: expect changes to storage, index schema, limits and configuration keys.
  • Who decides: the platform owner with sign-off from the teams that query or retain data.
  • Evidence: compare the effective configuration of the running and target versions before the change.
  • Deprecations: note any features marked for removal in later majors, since they set the next project.

Before committing to a major version, confirm its release notes and upgrade guide against your deployment mode and storage backend.

What changes across Loki releases and what each change asks of you

This table lists the Loki changes most likely to affect a version decision, with the impact of each and the action it asks of you. Read each row against the release notes for the version you plan to run, since the facts behind these rows describe the documented state of Loki, not every detail of your target release. The main takeaway is that deprecations and end-of-life dates, not new features, usually set the timing of an upgrade.

ChangeImpactAction needed
Simple scalable deployment mode deprecatedDocumented for removal with the Loki 4.0 release, so clusters on this mode will need a different deployment layout before 4.0Confirm which deployment mode you run, then plan a move to monolithic or microservices and check the 4.0 notes before scheduling it
TSDB recommended for 2.8 and newer; DynamoDB, Bigtable and Cassandra deprecatedOlder index stores are deprecated, so clusters still on them carry a migration obligationIdentify your current index store and plan a move to TSDB on your target version, testing the schema change in a non-production environment first
Promtail end of life on March 2, 2026No further updates or commercial support, so agents left on Promtail receive no fixesInventory every Promtail deployment and migrate collection to Grafana Alloy, following the migration guidance for your target version
Retention disabled by default and applied by the compactorLogs are kept indefinitely unless retention_enabled is set, which can drive storage growth and compliance gapsSet retention explicitly, confirm the compactor is running, and check that the retention rules in your new version still match your policy
No built-in authenticationLoki does not authenticate requests, so an upgrade does not add access controlPlace an authenticating reverse proxy such as nginx, HAProxy, OAuth2 Proxy or Pomerium in front of Loki and retest access after each upgrade
Grafana Enterprise Logs long-term support from 3.6, end of life February 1, 2029Enterprise users on 3.6 have a documented support window ending on that date, which sets a longer planning horizon than open-source releasesIf you run GEL, confirm the support terms for your license and schedule the next platform change before the end-of-life date

Decision path for choosing the Loki version your cluster runs

Start by confirming your deployment mode and the version you run today. If you use simple scalable mode, plan its move before 4.0, since the documentation says it will be removed in that release. If you still run Promtail, which reached end of life, or Grafana Enterprise Logs, check the long-term support line before choosing a target. Weekly builds stop at a no-production outcome. Otherwise, pick a release line and then a patch level within it.

Decision path from the running deployment to a target Loki release and patch level.

What to prepare before the upgrade calendar starts

An upgrade calendar only works if the current cluster is documented, recoverable and tested against realistic data. These six preparation items connect the cadence of major, minor and patch releases to the work your team must finish before the first planned change.

Inventory the deployment stack

Record the deployment mode, object store, index store and the Loki version each environment runs. Confirm whether you run monolithic, simple scalable or microservices, because simple scalable mode is being deprecated and removed with Loki 4.0. Also confirm the index store, since TSDB is the recommended index for Loki 2.8 and newer. Keep this inventory per environment, not per cluster name.

Deployment modes docs

Back up bucket, config and settings

Confirm that you can restore the object store bucket, the effective configuration file, and the retention and tenant settings as a single set. Retention is disabled by default, so a backup must capture whether retention_enabled was ever set. Test one restore in a separate account or namespace before relying on the backup for an upgrade.

Retention docs

List local customizations

Write down every value that differs from the defaults: ingestion limits, per-tenant overrides, reverse proxy rules and any custom labels. Each of these can change behavior when a newer release changes a default. Ask the owner of each setting why it exists, and mark the ones that no longer serve a purpose so they can be removed during the upgrade rather than carried forward.

Build a production-like test environment

Confirm that the test environment holds enough log volume, label cardinality and retention age to exercise compaction, deletion and common LogQL queries. A test cluster with a few hours of sample data will not reveal problems that appear after weeks of retention. Agree in writing which data is copied and how sensitive fields are masked before it is loaded.

Agree ownership and change windows

Name the team that owns the Loki cluster, the approver for each upgrade step, and the on-call contact during a change. Confirm the change windows with the teams that query Loki in Grafana, because an upgrade can interrupt dashboards, alert rules and audit searches. Record who signs off a rollback and the time limit for making that decision.

Record the log shippers in use

List every agent that sends logs to Loki, including the version and host group for each. Promtail reached end of life on March 2, 2026, so any host still running it needs its own migration path to Grafana Alloy before the calendar assumes a stable client. Confirm which Fluent Bit, Fluentd or OpenTelemetry pipelines also write to the cluster.

Promtail docs

How to sequence a Loki upgrade and where to stop

The sequence turns a release decision into a tested production change, with a check and a rollback point at each stage so the team knows which version to stop on and when.

  1. Freeze the target release line

    Choose a specific patch release within a minor line that your team will run in production, such as the latest patch of the line you have validated, and record it in the change plan. Do not target a weekly build, because Grafana provides no stability guarantees for weekly releases. Confirm with your platform owner that the chosen release is the one you will test, document and roll back to. Done when the target version is written down with its release notes link and an owner. Rollback point: nothing has changed yet, so the decision can be revised freely.

  2. Review the upgrade guide for every version crossed

    Read the official upgrade guide and the release notes for each version between your current release and the target, not only the final one. Confirm with the vendor documentation which intermediate versions the supported upgrade path requires, because a direct jump may not be supported for your starting point. List every breaking change, schema or storage requirement, removed option and default change that applies to your deployment mode. Done when the team has a written list of required steps and any stop versions. Rollback point: still no change to the running system.

  3. Compare the effective configuration of both versions

    Use the -print-config-stderr flag on the running and target binaries with your current configuration files to produce the effective configuration each version would apply. Diff the two outputs to find changed defaults, removed options and new limits that could reject logs or alter query behavior. Resolve each difference by setting it explicitly in your configuration or accepting it with a recorded reason. Done when every difference has a decision and the configuration change is committed to version control. Rollback point: the previous configuration remains in version control.

  4. Upgrade the test environment first

    Deploy the intermediate and target versions to a test environment that uses the same deployment mode, object storage type, index store and authentication layer as production. Apply the configuration changes from the previous step and run the schema or storage migrations the guide requires, in the documented order. Done when the test cluster starts cleanly, reports healthy components and completes any required migration without errors. Rollback point: restore the test environment from a snapshot or redeploy the prior version, and record the failure before changing the plan.

  5. Run ingestion and query checks in test

    Replay representative log traffic from your shippers, including the highest-volume and highest-cardinality streams, and run the queries your dashboards and alerts depend on. Compare ingestion error rates, rejected-log counts, query results and response times against the baseline captured from the running production version. Confirm that multi-tenant headers and access controls still behave as expected. Done when results match within the tolerances your team defined before the test and no new error class appears. Rollback point: if checks fail, stop at the previous validated version and return to the review step.

  6. Upgrade production in a planned window

    Schedule the production change with the teams that depend on log access, and take a backup or snapshot of the configuration and index state before starting. Apply the same steps used in test, in the same order, and roll components according to the guide. Confirm after each stage that the components report healthy before continuing to the next. Done when all components run the target version and the post-change smoke queries succeed. Rollback point: the pre-change snapshot and the prior binary or chart version are retained until the monitoring period ends.

  7. Monitor ingestion errors and query latency afterward

    Watch ingestion error rates, rejected logs, query latency, compactor activity and object storage errors against the pre-upgrade baseline for the monitoring period your change plan sets. Review logs from the upgraded components for new warnings and confirm that retention and deletion jobs still run as configured. Record the final state, open issues and the decision to keep the version or roll back. Done when the team signs off in writing and the next upgrade is placed on the release calendar. Rollback point: until sign-off, the retained snapshot and prior version allow a return to the last validated state.

What makes a Loki upgrade take longer than expected

This table lists the drivers that most often stretch a Loki upgrade beyond the planned window, how each one changes the work, and what to check before committing to a date. Read it before you pick a target version, because several drivers, such as the number of versions crossed and the deployment mode, are fixed by your current setup and only become visible once you inventory it.

DriverEffect on effortWhat to check
Number of versions crossed in one moveEach minor release can change defaults, schema or removed options, so skipping several versions stacks those changes into one cutover and multiplies the test matrix.List every release between your current and target version and read each release note for breaking changes before scheduling.
Custom configuration and per-tenant limitsHand-tuned limits and overrides may be renamed, reset or enforced differently in the target version, and new default limits can reject logs that were previously accepted.Compare the effective configuration of the running and target versions and review every per-tenant override against the new defaults.
Deployment modeSimple scalable mode carries separate read, write and backend targets, and microservices mode adds more components, so each one needs its own rollout order and verification.Confirm which mode you run, note that simple scalable mode is being deprecated ahead of Loki 4.0, and plan the mode change as its own project if needed.
Promtail or other shippers needing migrationPromtail has reached end of life, so agents running it need to move to Grafana Alloy, which adds a separate change stream that must be tested alongside the server upgrade.Inventory every host, container and cluster still shipping with Promtail and confirm the Alloy configuration reproduces the same labels and pipelines.
Data volume in object storageLarger stores lengthen backup, restore and any index or schema migration, and a rollback that restores from backup takes longer as volume grows.Measure current stored volume and confirm your backup and restore procedure has been tested at that size, not only on a small test bucket.
Reverse proxy and authentication layersLoki has no built-in authentication, so the authenticating proxy in front of it must keep passing the tenant header and match any changed endpoints or headers in the new version.Test tenant routing, authentication and query paths through the proxy in staging, including write and read paths separately.
Grafana dashboards and alerting rules tied to renamed metricsDashboards and ruler alerts that reference renamed or removed metrics fail silently or show empty panels, so the problem often surfaces only after the upgrade is live.Search dashboards, alert rules and recording rules for metric names listed as renamed or removed in the release notes and update them before cutover.

Why weekly Loki builds stay out of production

Weekly Loki builds should not reach production. Every Monday Loki creates a release named weekly-k<week-number> from the main branch, and Grafana deploys these builds across Grafana Cloud Logs. Grafana provides no stability guarantees for them. For Grafana Cloud, that is Grafana's operational problem. For a self-hosted team, it is yours: a weekly build is a test signal about what is coming, not a version you can support, roll back to with confidence or certify for a compliance review.

The practical difference is what you are accountable for. A tagged release has documented upgrade notes, a known configuration default set and a fixed set of changes you can review before you adopt it. A weekly build carries whatever landed on main that week, and the release notes may not describe every behavior change your ingesters, compactor or query path will see. Plan a separate test environment that mirrors your production storage backend, labels, tenant limits and reverse proxy, and run a weekly build there on a schedule. Record ingestion errors, query latency and compactor behavior, then file issues upstream when something regresses. Production stays on the most recent tagged patch release in your chosen minor line.

Before you adopt any pre-release, confirm the current wording in Loki's release cadence documentation, including how weekly builds are named, which branch they come from and whether Grafana makes any statement about their use outside Grafana Cloud. Confirm the exact support boundary for tagged releases and for your version line, and check the Loki GitHub releases page for the tag you plan to run. If the documentation is silent on a point your compliance team will ask about, get the answer in writing from the vendor before the build enters any environment that holds production data.

Loki upgrade cost, effort and timing questions buyers ask

What drives the cost of a Loki upgrade?

The cost follows the scope you write down: how many versions you cross, how many environments you run, how much custom configuration and tooling depends on Loki, and how much log data sits in the storage you must validate. A patch move inside one minor line is a small, bounded task. A move that crosses a major release, or that changes the index store or deployment mode, adds reading, testing and rollback work. Ask any provider to price each environment and each version step separately, and to state which items are one-time (the upgrade itself) and which recur (the next upgrade cycle and any retainer).

Can our own team upgrade Loki without a partner?

Yes, if the team has capacity to read the upgrade guide for every version it crosses, test the new release against a copy of its configuration, and own the rollback plan. Most gaps appear in configuration: changed defaults, removed options and new limits that can reject logs. Before you decide, check whether the people who would do the work can also run the test environment, watch ingestion and query health during the change window, and restore the previous state if something fails. If any of those owners are missing, a partner or retainer can fill the gap.

How long does a Loki upgrade take?

The duration depends on the drivers above, so no single figure applies to every cluster. Ask for a written scope with a timeline that lists each environment, each version step, the test cycles, the change windows and the rollback checks. A credible plan separates the time spent on preparation from the time spent in production change windows. Be cautious of any timeline that does not name the versions it covers or the environments it includes.

What does the work need from our team?

Plan to provide four things before work starts: inventory access to the running Loki version, its configuration and the object storage it uses; a test environment that matches production closely enough to catch config and storage differences; a change window agreed with the teams whose logs and alerts depend on Loki; and named owners for the important LogQL queries and dashboards, so someone can confirm the results after the upgrade. Missing owners are the most common cause of delays, because nobody can say whether a changed query result is a fault.

How often should we plan Loki upgrades given the published cadence?

Loki ships major releases roughly once a year, minor releases roughly once a quarter, and patch releases roughly once or twice a month, according to the project's release cadence documentation. A practical calendar schedules patch reviews monthly, a minor-line review each quarter, and a major-version assessment once a year, with time reserved for the breaking-change reading that each major release requires. Use the release notes and the Loki release cadence documentation as the basis for the calendar, and stay on releases you have tested rather than on weekly builds.

Does a retainer cover later Loki upgrades?

DeployOpen offers ongoing support, upgrades and continuous testing as retainers, so a retainer can cover later upgrades when they are part of the agreed scope. Confirm in writing which versions, environments and change windows the retainer includes, how requests are prioritized, and whether a major-version move is counted separately from patch and minor work. Ask what happens to the rollback and test environment between cycles, since those determine how quickly the next upgrade can start.

Will a Loki upgrade change our log retention or compliance evidence?

It can, because retention, deletion and access settings live in configuration and storage that an upgrade may touch. Before the change, record the current retention rules, tenant settings and access controls, then confirm that the target version keeps them in effect. Retention is applied by the compactor and is disabled by default, so a configuration that relied on an earlier default needs checking. Ask your compliance team which evidence they need to keep from the change, and whether an independent auditor will review it, because DeployOpen prepares controls and evidence but does not issue audit reports.

How DeployOpen works on this

DeployOpen plans and implements self-hosted Loki inside your own infrastructure, so the release cadence and version choice become a written, reviewable decision rather than an ad hoc upgrade. We map your running version against the release channels, the upgrade guide and your own configuration before anything changes.

How we scope

  • Inventory the running Loki version, deployment mode, object store and any Helm chart or configuration source in use
  • Agree which release line you will run and which channel (patch, minor or major) each environment follows
  • Write the upgrade calendar in the fixed-scope agreement, including staging soak windows and change approval steps
  • Confirm who owns vendor release monitoring, approvals and rollback decisions on your side

How we build

  • Build a staging environment that matches production topology, storage backend and tenant configuration
  • Compare the effective configuration of the running and target versions before any change is applied
  • Run ingestion and query tests against representative log volume and retention settings in staging
  • Document each version decision, the evidence behind it and the rollback path in a versioned runbook

How we hand over

  • Deliver the upgrade calendar, version policy and runbook as written documents your team can own
  • Walk your operators through the staging results, configuration diffs and known-change checklist
  • Record which release tracks are approved for production and which are limited to test environments
  • Leave a checklist for evaluating each new Loki release against your own configuration before adoption

How we support

  • Offer ongoing support and upgrade execution as a retainer, scoped in writing with your team
  • Review each new patch, minor and major release against your configuration and recommend adoption timing
  • Repeat staging tests and configuration comparisons for each planned change before it reaches production
  • Confirm retainer terms, response expectations and included releases with DeployOpen before work begins

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.