You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Different retention periods by tenant are not working as expected. Despite updating the runtime configuration, the retention policy still defaults to 30 days for all tenants.
Runtime Configuration: The retention periods appear updated in the /overrides-exporter/runtime_config?mode=diff API.
Cortex Limits Metric: The cortex_limits_overrides metric does not reflect the updated retention periods under limit_name. (Is this expected? can see for other limits for defined tenants but not on retention period)
Storage Account: Only the last 30 days of blocks are present for the tenants, indicating that the default retention period (30 days) is still being used.
How to reproduce it?
Configure different retention periods for two tenants in the runtime configuration.
Check the /overrides-exporter/runtime_config?mode=diff API to confirm the updates.
Observe the cortex_limits_overrides metric to see if the retention periods are reflected.
Check the storage account to see which blocks are present for each tenant.
Further debugging on this, seems like there is no issue from runtime configuration. Can see retention period is properly getting picked up for different tenants but the data blocks are getting deleted from the backend storage.
What is the bug?
Hi,
Different retention periods by tenant are not working as expected. Despite updating the runtime configuration, the retention policy still defaults to 30 days for all tenants.
Runtime Configuration: The retention periods appear updated in the /overrides-exporter/runtime_config?mode=diff API.
Cortex Limits Metric: The cortex_limits_overrides metric does not reflect the updated retention periods under limit_name. (Is this expected? can see for other limits for defined tenants but not on retention period)
Storage Account: Only the last 30 days of blocks are present for the tenants, indicating that the default retention period (30 days) is still being used.
How to reproduce it?
Configure different retention periods for two tenants in the runtime configuration.
Check the /overrides-exporter/runtime_config?mode=diff API to confirm the updates.
Observe the cortex_limits_overrides metric to see if the retention periods are reflected.
Check the storage account to see which blocks are present for each tenant.
What did you think would happen?
Followed according to below document
https://grafana.com/docs/mimir/latest/configure/configure-metrics-storage-retention/
What was your environment?
Infrastructure - Kubernetes
Deployment - helm
Any additional context to share?
Mimir version - 2.14.2
The text was updated successfully, but these errors were encountered: