Skip to content

Different retention period by tenant #2371

Discussion options

You must be logged in to vote

Hello,

yes, this is definitely possible by using "runtime configuration". For example you can put this into your runtime configuration file:

overrides:
    "tenant-a":
        compactor_blocks_retention_period: 12w
    "tenant-b":
        compactor_blocks_retention_period: 1y

We cannot use 3m for 3 months, because m is used for minutes. We can only use y for years, w for weeks or d for days.

https://grafana.com/docs/mimir/latest/operators-guide/configuring/about-runtime-configuration/

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@shichanglin5
Comment options

@dimitarvdimitrov
Comment options

@shichanglin5
Comment options

@shichanglin5
Comment options

@pstibrany
Comment options

Answer selected by Mojito2110
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants