Offline deduplication with two replica labels #5087
Unanswered
LukaszWasko
asked this question in
Questions & Answers
Replies: 1 comment 3 replies
-
No response yet. So maybe I should start a question - which "--deduplication.func" on Compactor should I use if two prometheus agents (label replica: [0, 1]) scrapes the same target and then metrics goes to receivers with hashring (another label receive_replica: [0,1]) to proper offline deduplication work? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking for working config for Thanos Compact to deduplicate data with two replica labels.
I don't know how to deal with these labels - one generated on prometheus nodes, secodn on thanos receivers (with hashring).
My config:
Prometheus Agent nodes scraping the same targets:
and compactor:
So the compactor knows to deduplicate prometheus replica label, but what about receiver label receive_replica?
This is the result:
and to visualize the connections:
EDIT 1:
Beta Was this translation helpful? Give feedback.
All reactions