Skip to content

Do blocks of a HA Prometheus setup get uploaded 2 times to the object storage by the 2 sidecars? #4474

Discussion options

You must be logged in to vote

I also wonder how does the compactor behave in this case, one could imagine that the compactor could also deduplicate blocks, and compacts two into one, the same way the querier does.

This is already supported in the latest v0.22.0 release. Compactor will do the same thing as querier to deduplicate the two blocks and merge them into one.

Please see https://thanos.io/v0.22/components/compact.md/#vertical-compaction-use-cases.

Replies: 1 comment

Comment options

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