Retention isn't applied
Weik.io 2026.2A telemetry store runs with a different number of days than the installation's settings give it.
| Kind | Severity | Who sees it |
|---|---|---|
retention- |
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 store that keeps more days than set uses more disk, and one that keeps fewer deletes records you expect to have.
You set the days each store keeps in the installation’s settings. A new installation starts with these:
| Store | Days |
|---|---|
| Log store | 30 |
| Metric store | 90 |
| Trace store | 7 |
What raises it#
The problem shows immediately when the store stopped before it started with the days set. When the store still runs with other days, the problem shows after two minutes. It’s an error while the store keeps fewer days than set.
What to check#
Run weikio-backend doctor in the stack’s folder on a hub server. The doctor’s retention lines give the days set and the days each store runs with:
$ docker compose run --rm infra weikio-backend doctorRead the store’s log, for example the log store’s:
$ docker compose logs --tail 50 victoria-logsHow to fix it#
Restart the store so it starts with the days set. While the store restarts, the backend keeps what the hub receives and sends it on once the store answers. For example, restart the log store:
$ docker compose restart victoria-logsThe metric store is victoria-metrics and the trace store victoria-traces.