-
What Grafana version and what operating system are you using?
grafana version: v9.1.2
deployed with docker container, along with grafana image renderer docker container. -
What are you trying to achieve?
I want to attach image in slack alert message. -
How are you trying to achieve it?
have tried to use local or aws s3 as external storage, but it doesn’t work. -
What happened?
I can see screenshot image created in grafana png directory, but not upload to s3, I can’t see image in slack alert message no matter use local or s3 as external storage. -
What did you expect to happen?
it shows image in slack alert message. -
Can you copy/paste the configuration(s) that you are having problems with?
[unified_alerting.screenshots]
capture = true
max_concurrent_screenshots = 5
concurrent_render_request_limit = 5
upload_external_image_storage = true
#################################### External image storage ##########################
[external_image_storage]
# Used for uploading images to public servers so they can be included in slack/email messages.
# you can choose between (s3, webdav, gcs, azure_blob, local)
provider = s3
bucket = xxx
region = xxx
access_key = xxx
secret_key = xxx
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
-
Did you follow any online instructions? If so, what is the URL?