-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade prometheus to b1ed4a0a663d0c62526312311c7529471abbc565 Updated Prometheus to latest commit that includes changes in the LabelQuerier.LabelNames method signature: prometheus/prometheus#9083 Signed-off-by: Oleg Zaytsev <[email protected]> * Add matchers to all LabelNames implementations Signed-off-by: Oleg Zaytsev <[email protected]> * Pass matchers from distributor to ingester's block tsdb Signed-off-by: Oleg Zaytsev <[email protected]> * Ingester.LabelNames(w/matchers) for chunks too Signed-off-by: Oleg Zaytsev <[email protected]> * Use the old distributor query path when cfg is disabled Signed-off-by: Oleg Zaytsev <[email protected]> * Sort label names in old implementations Signed-off-by: Oleg Zaytsev <[email protected]> * BlockStoreQueryable querying both paths Signed-off-by: Oleg Zaytsev <[email protected]> * Fix pkg/querier/querier_test.go Signed-off-by: Oleg Zaytsev <[email protected]> * Use the provided ctx Signed-off-by: Oleg Zaytsev <[email protected]> * Make doc * Test distributorQueryable.LabelNames And fix missing matchers in the call to Distributor Signed-off-by: Oleg Zaytsev <[email protected]> * Test Distributor.LabelNames Signed-off-by: Oleg Zaytsev <[email protected]> * Test Ingester.LabelNames with matchers Signed-off-by: Oleg Zaytsev <[email protected]> * Add matchers to querier test Signed-off-by: Oleg Zaytsev <[email protected]> * Add CHANGELOG.md entry Signed-off-by: Oleg Zaytsev <[email protected]> * Move changes to mimir/unreleased changelog section Signed-off-by: Oleg Zaytsev <[email protected]> * Add another label to testcase to improve test If multiple matchers didn't work, we wouldn't realize as the result set was the same as for a single matcher. Now the multiple matcher doesn't match the series with status=500 which has a reason=broken label Signed-off-by: Oleg Zaytsev <[email protected]> * Update docs, add `enabled` suffix to the config. Signed-off-by: Oleg Zaytsev <[email protected]> * Remove fixme comment and feature flag from blocks_store_queryable All the StoreGateways (actually, one) are already supporting matchers in the call so we don't need to use a feature flag on this. Signed-off-by: Oleg Zaytsev <[email protected]> * Update span name Signed-off-by: Oleg Zaytsev <[email protected]> Co-authored-by: Marco Pracucci <[email protected]> * Remove feature flag from blocks_store_queryable Signed-off-by: Oleg Zaytsev <[email protected]> * Fixup changelog entry Signed-off-by: Oleg Zaytsev <[email protected]> * Remove fingerprint collision testcase At least until we find a collision between two different label names. Signed-off-by: Oleg Zaytsev <[email protected]> * Handle matchers in tenantfederation/mergeQuerier.LabelNames Signed-off-by: Oleg Zaytsev <[email protected]> * Opinionated refactor of filterValuesByMatchers Since there are three options, IMO, a switch is clearer than if/continue/if/elseif structure. Signed-off-by: Oleg Zaytsev <[email protected]> Co-authored-by: Marco Pracucci <[email protected]>
- Loading branch information
Showing
43 changed files
with
911 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.