grafana/pkg/components/imguploader
Marcus Efraimsson 71ffd1d108
Alerting: Fix image rendering and uploading timeout preventing to send alert notifications (#21536)
* svc alerting - use a shorter ctx to upload the img
This will prevent timeout on img upload to cancel the notifications from being sent

* components img uploader - pass the ctx to aws lib

* make webdavuploader use the ctx

* make azureblobuploader use the ctx

* rename uploadImage() to renderAndUploadImage()
for better clarity about what this method work

* Use timeout + 2s for plugin renderer (same as service and phantomjs)

* Make sure that original EvalContext is updated after render and upload

* Verify notification sent even if render or image upload times out

* fix lint

* fixes after review

Co-authored-by: Edouard Hur <3418467+hekmon@users.noreply.github.com>

Fixes #21018
2020-01-17 12:07:16 +01:00
..
azureblobuploader_test.go Initial Baby Step to refactoring settings from global vars to instance (#11777) 2018-04-30 16:21:04 +02:00
azureblobuploader.go Alerting: Fix image rendering and uploading timeout preventing to send alert notifications (#21536) 2020-01-17 12:07:16 +01:00
gcsuploader_test.go pkg/components: Check errors (#19703) 2019-10-10 09:06:55 +02:00
gcsuploader.go pkg/util: Check errors (#19832) 2019-10-23 10:40:12 +02:00
imguploader_test.go pkg/components: Check errors (#19703) 2019-10-10 09:06:55 +02:00
imguploader.go ImgUploader: add support for non-amazon S3 (#20354) 2020-01-02 15:10:20 +01:00
localuploader_test.go imguploader: Add support for new internal image store (#6922) 2018-01-12 21:40:12 +01:00
localuploader.go imguploader: Add support for new internal image store (#6922) 2018-01-12 21:40:12 +01:00
s3uploader_test.go pkg/components: Check errors (#19703) 2019-10-10 09:06:55 +02:00
s3uploader.go Alerting: Fix image rendering and uploading timeout preventing to send alert notifications (#21536) 2020-01-17 12:07:16 +01:00
webdavuploader_test.go Handle query string in storage public_url (#9351) (#12555) 2018-07-17 11:10:12 -07:00
webdavuploader.go Alerting: Fix image rendering and uploading timeout preventing to send alert notifications (#21536) 2020-01-17 12:07:16 +01:00