Fix evaluation of alert rules for datasources with custom headers (#44862)

* Fix evaluation of alert rules for datasources with custom headers

* Fix unit tests

* Fix integration tests

* Evaluator fields should be package private
This commit is contained in:
George Robinson
2022-02-04 14:56:37 +01:00
committed by GitHub
parent 3cf31451ec
commit 9df43abbb5
7 changed files with 82 additions and 23 deletions
+1
View File
@@ -103,6 +103,7 @@ func (api *API) RegisterAPIEndpoints(m *metrics.API) {
Cfg: api.Cfg,
ExpressionService: api.ExpressionService,
DatasourceCache: api.DatasourceCache,
secretsService: api.SecretsService,
log: logger,
}), m)
api.RegisterConfigurationApiEndpoints(NewForkedConfiguration(