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: add partition labels flag #7722

Merged
merged 2 commits into from
Sep 12, 2024

Commits on Sep 11, 2024

  1. query: add partition labels flag

    The distributed engine decides when to push down certain operations by
    checking if the external labels are still present, i.e. we can push down
    a binary operation if its vector matching includes all external labels.
    This is great but if you have multiple external labels that are
    irrelevant for the partition this is problematic since query authors
    must be aware of those irrelevant labels and must incorporate them into
    their queries.
    This PR attempts to solve that by giving an option to focus on the
    labels that are relevant for the partition.
    
    Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
    MichaHoffmann committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    19e384b View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Update cmd/thanos/query.go

    Co-authored-by: Filip Petkovski <filip.petkovsky@gmail.com>
    Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
    MichaHoffmann and fpetkovski committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    e917201 View commit details
    Browse the repository at this point in the history