Dropping raw metrics without shipping them to s3 and only keeping recording rules for a tenant. Any recommendations? #10544
Replies: 1 comment
-
That sounds reasonable to me.
Ingesters keep the last 24h of metrics and are queried for the last 12h of metrics by default so this wouldn't really have any effect. I'd also recommend not having a such an aggressive retention policy as a backup in case you find a problem with the aggregation being performed or there's a ruler outage or something like that.
Trying to prevent metrics from being shipped to object storage is going to be fighting against how Mimir works. Personally, I'd keep the raw metrics for a few days (meaning they do get shipped to object storage) as insurance against issues with the recording rules or aggregations being done. |
Beta Was this translation helpful? Give feedback.
-
I have a use case where I want to drop raw metrics and only keep recording rules for a specific tenant.
My issue is that I don't want these raw metrics shipped to the backend s3 only to get deleted shortly after. Any recommendations on how to avoid having these raw metrics getting uploaded to the backend storage? I'm open to other ideas, but wanted to see what the best practice is for this use case.
Beta Was this translation helpful? Give feedback.
All reactions