Julien Pivotto
3856195bb8
tsdb: use float64 for retention percentage
...
The retention.percentage config field was typed as uint, which silently
truncated fractional values. Setting percentage: 1.5 in prometheus.yml
resulted in a retention of 1%, with no warning or error.
Remove the redundant MaxPercentage > 100 clamp in main.go; the config
UnmarshalYAML already returns an error for out-of-range values before
this code is reached.
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-03-26 12:39:22 +01:00
..
2026-03-19 10:51:40 +01:00
2026-03-25 09:59:12 +01:00
2026-02-25 13:54:25 +00:00
2026-02-12 13:17:50 -05:00
2026-03-06 14:35:06 +01:00
2026-01-05 13:46:21 +01:00
2026-03-04 08:24:50 +01:00
2026-01-05 13:46:21 +01:00
2026-02-17 13:35:31 -08:00
2026-03-12 08:28:15 +00:00
2020-08-11 06:56:08 +01:00
2026-01-13 13:38:58 +00:00
2026-02-17 09:23:54 +01:00
2026-03-12 09:03:08 +00:00
2019-08-13 13:58:49 +05:30
2026-01-14 13:15:13 +01:00
2026-02-24 12:25:00 +00:00
2026-01-05 13:46:21 +01:00
2026-01-05 13:46:21 +01:00
2021-02-22 20:28:02 +01:00
2026-02-17 15:21:51 +01:00
2026-02-04 10:41:57 +01:00
2026-03-12 12:26:42 -07:00
2026-03-26 12:39:22 +01:00
2026-03-26 12:39:22 +01:00
2026-01-05 13:46:21 +01:00
2026-02-18 15:58:16 +00:00
2026-01-15 08:49:37 +01:00
2026-03-12 11:07:00 -07:00
2026-03-12 11:07:00 -07:00
2026-03-12 11:07:00 -07:00
2026-01-19 12:57:05 +01:00
2026-01-05 13:46:21 +01:00
2026-01-05 13:46:21 +01:00
2026-02-20 09:15:51 +01:00
2026-01-23 17:59:41 -08:00
2026-03-23 20:46:04 -07:00
2026-03-23 20:46:04 -07:00
2026-03-23 20:46:04 -07:00
2026-02-17 15:21:51 +01:00
2026-01-05 13:46:21 +01:00
2026-02-17 13:35:31 -08:00
2026-01-05 13:46:21 +01:00
2026-01-19 12:57:05 +01:00
2026-03-12 11:07:00 -07:00
2026-03-12 11:07:00 -07:00
2026-03-12 11:07:00 -07:00
2026-01-05 13:46:21 +01:00
2026-01-05 13:46:21 +01:00
2026-01-05 13:46:21 +01:00
2026-02-20 09:15:51 +01:00
2026-02-20 09:15:51 +01:00
2022-10-07 16:20:20 +00:00
2026-01-05 13:46:21 +01:00
2026-02-04 10:41:57 +01:00
2026-01-05 13:46:21 +01:00
2026-01-05 13:46:21 +01:00