Open SeboCode opened 1 year ago
The TSDB retention_period
currently doesn't support the extended duration units (d
, w
and y
). I suggest you to use 24h
instead of 1d
.
Thanks for the answer. I suggest you mention this in the configuration documentation, as this current restriction could very likely confuse others as well.
@SeboCode Willing to open a PR to contribute to the doc? We would ❤️ your contribution!
Describe the bug
Configuration parse error when using
d
,w
ory
as the duration specifier inblocks_storage.tsdb.retention_period
. All other duration specifiers work.To Reproduce
Steps to reproduce the behavior:
mimir.yaml
.cannot unmarshal !!str 1d into time.Duration
Expected behavior
The duration should parsed correctly and the
retention_period
should be set to 1 day.Environment