Skip to content
Weik.ioDocs
2026.2
Try Weik.io

Retention isn't applied

Weik.io 2026.2

A log, metric or trace store runs with another number of days than the installation's settings give it.

On this page
Kind Severity Who sees it
retention-not-applied Warning, and an error while a store keeps fewer days than set Platform administrators, in a list that isn’t narrowed to an environment or a project

What it means#

A log, metric or trace store doesn’t run with the number of days the installation’s settings give it. A new installation keeps logs for 30 days, metrics for 90 days and traces for 7 days, and you set the days of each in the installation’s settings. A store that keeps more days than set uses more disk, and one that keeps fewer deletes records you expect to have.

What raises it#

It shows at once when the store stopped before it started with the days set, and after two minutes when the store still runs with other days. It’s an error while the store keeps fewer days than set.

What to check#

On a hub server, in the stack’s folder, run the checks, whose retention lines give the days set and the days each store runs with:

Terminal
$ docker compose run --rm infra weikio-backend doctor

Read the store’s own log, for example the log store’s:

Terminal
$ docker compose logs --tail 50 victoria-logs

How to fix it#

Restart the store so it starts with the days set:

Terminal
$ docker compose restart victoria-logs

The metric store is victoria-metrics and the trace store victoria-traces. The backend keeps what the hub receives while a store restarts and sends it on once the store answers.

Sign in to the live demo

Sign in with the shared viewer account, which can open every screen of the example projects and can't change anything.

E-mail
viewer@demo.weik.io
Password
try-weikio-live-demo
Open the live demo