Skip to content

Why thanos ruler needs to send TSDB blocks to remote storage #3996

Discussion options

You must be logged in to vote

Is there any option in ruler to stop shipping TSDB blocks to remote storage ?
Yes, you can definitely do that. You can just not add the object store configuration for ruler.

The TSDB blocks generated from receivers contain samples sent by other clients via remote write. And the TSDB blocks generated by the ruler contain samples generated from the ruler itself.
If you have alerting rules, the ruler creates two metrics ALERTS and ALERTS_FOR_STATE for the current alert status. If you have recording rules, the ruler evaluates the recording rules and generates new metrics. So that's what its TSDB blocks for.

So if you want to persist the metrics generated by the ruler for a longer time, you …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dmilind
Comment options

Answer selected by dmilind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants