CloudWatch/Logs: Fix log alerts in new unified alerting (#36558)

* Pass FromAlert header from new alerting

* Add better error messages
This commit is contained in:
Andrej Ocenas
2021-07-09 13:43:22 +02:00
committed by GitHub
parent 56903582ce
commit ea2ba06b93
6 changed files with 22 additions and 19 deletions

View File

@ -206,6 +206,7 @@ func (s *Service) queryData(ctx context.Context, req *backend.QueryDataRequest)
tQ := plugins.DataQuery{
TimeRange: &timeRange,
Queries: queries,
Headers: req.Headers,
}
// Execute the converted queries