forked from grafana/mimir
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
query-tee: add per-backend request headers (grafana#10081)
* Add tests Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com> * Add headers to proxy Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com> * Add CHANGELOG.md entry Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com> * Use YAML config instead Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com> * Add comment for why we allow choosing by index too Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com> * Validate list of backends Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com> * Add util function for BackendConfig Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com> * Fix validation Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com> --------- Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>
- Loading branch information
1 parent
13b807a
commit 7d7a9c1
Showing
6 changed files
with
243 additions
and
10 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
Oops, something went wrong.