services.victoriametrics.retentionPeriod

How long to retain samples in storage. The minimum retentionPeriod is 24h or 1d. See also -retentionFilter The following optional suffixes are supported: s (second), h (hour), d (day), w (week), y (year). If suffix isn't set, then the duration is counted in months (default 1)

Type
null or string
Default
null
Example
"15d"
Declared
<nixpkgs/nixos/modules/services/databases/victoriametrics.nix>