Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[query] dedup query param should let specify dedup labels not just true/false #140

Closed
bwplotka opened this issue Dec 15, 2017 · 3 comments
Closed

Comments

@bwplotka
Copy link
Member

bwplotka commented Dec 15, 2017

We are basically move the source of truth for replica labels to the client.

Benefits:

  • We allow to specify replica label on UI per each query
  • No more fixed replica label on startup
  • Allowance for many replica labels across cluster (This is actually downside ;p)

Cons:

  • if you have the rulers out of sync regarding the replica label -> it's bad
@jturolla
Copy link

From our production experience, there's little benefit in allowing users to choose the replica label.

This is an abstraction that is relevant from the infrastructure perspective, metrics consumers don't care if there's deduplication happening behind the scenes as long as their data is there.

In our setup, the replica label is replica, and we always append a random hash to the end of it, making it unique, avoiding overlapping blocks in s3.

This would add a difficult to explain concept in the client UI and could lead to wrong data from more inexperienced users that don't even know the difference between prometheus and thanos.

@daixiang0
Copy link
Member

@bwplotka is it still a plan?

@stale
Copy link

stale bot commented Feb 8, 2020

This issue/PR has been automatically marked as stale because it has not had recent activity. Please comment on status otherwise the issue will be closed in a week. Thank you for your contributions.

@stale stale bot added the stale label Feb 8, 2020
@stale stale bot closed this as completed Feb 15, 2020
simonpasquier pushed a commit to simonpasquier/thanos that referenced this issue May 30, 2024
MON-3725: Update OWNERS: move raptorsun out of reviewer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants