SpipCP
Administration

Metrics

The fleet-wide metrics-history retention settings β€” how long raw samples and hourly rollups are kept before the panel prunes them.

Settings β†’ Metrics holds the retention windows behind every chart on the dashboard, node, instance, and site resource trends. Operators can view the page; only admins can save, so Save shows a permission error for a read-only operator. Both values are stored encrypted, and changes are audited like any other setting.

Settings β†’ Metrics
πŸ“·The fleet-wide metrics retention windows β€” raw sample and hourly rollup retention.img/settings-metrics.avif
The fleet-wide metrics retention windows β€” raw sample and hourly rollup retention.

Raw sample retention

How long raw samples are kept before the hourly rollup+prune cron trims them (1–336 hours / up to 14 days, default 48 hours). Raw samples are the source for short-range (≀2h) charts and the basis for hourly rollups β€” once a bucket has been rolled up, the raw rows behind it are expendable.

Hourly rollup retention

How long hourly rollups are kept before their own prune trims them (1–365 days, default 30 days). Hourly rollups are the source for 24h–7d charts. Daily rollups are kept indefinitely β€” cheap at fleet scale, so there's no daily-prune setting.

A changed retention window takes effect on the rollup cron's next hourly tick β€” no restart needed.

β†’ See Analytics for how the history behind the charts is collected and rolled up.

On this page