Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support querying multiple stores by Querier (grafana#2747)
* Added support to querier to work with multiple stores. Store queryables now have filtering function. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Querier can now use second store for querying. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Fixes for using chunks and blocks at the same time. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Added tests for new filtering queryables. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Added test for distributor querier filter. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Added test for using multiple store queryables. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Ignore linter trying to get rid of else. This form allows q to have smaller scope, which reduces possibility of incorrect reuse. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Allow "0" value. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Mention available formats. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Support for flagext.Time. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Extend help for querier.use-second-store-before-time. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Added CHANGELOG entry, and check to avoid using same primary and secondary engines. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Put comment why formatMatcher is used. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Mention that querying feature is experimental. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Enhance CHANGELOG.md Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Explain default value. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Added <time> placeholder, with example better examples. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Removed `buildService` function. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Mention that last two formats are specified by RFC 3339. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com> * Fix docs. Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
- Loading branch information