Commit 7961ff5
chore(monitoring): disable metric and log retention pruning
The cluster is being stopped and restarted later to export camp data, so
nothing may be pruned in the meantime.
Prometheus was not honouring the 90d setting: the size cap was the binding
constraint, with 6 size-based deletions in the last 30 days (0 time-based)
and the oldest sample only 65 days old. Camp data was being deleted from
the oldest end. Disable both time and size retention.
Loki already kept data forever (compactor deletes are off by default and no
retention_period was set). Pin both explicitly so a chart-default change
cannot silently start pruning.
Growth is ~0.8GB/day against ~16GB free (~21 days), so with no automatic
pruning the Prometheus PVC needs watching rather than self-limiting.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 072b891 commit 7961ff5
2 files changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| |||
0 commit comments