grafana/pkg/tests/api/alerting
George Robinson ec1d93c8ab
Alerting: Upload images to Slack via files.upload (#59163)
This commit makes a number of changes to how images work in Slack
notifications.

It adds support for uploading images to Slack via the files.upload
API when the contact point has a token. Images are no longer linked
via a URL if a token is present.

Each image uploaded to Slack is posted as a reply to the original
notification. Up to maxImagesPerThreadTs images can be posted as
replies before a final message is sent with:

  There are no images than can be shown here. To see the panels for
  all firing and resolved alerts please check Grafana

Incoming Webhooks cannot upload files via files.upload and so webhooks
require the image to be uploaded to cloud storage and linked via URL.
2022-12-02 09:41:24 +00:00
..
api_admin_configuration_test.go Chore: Remove CreateOrg from alerting and use orgStore instead (#59440) 2022-11-29 09:59:03 +01:00
api_alertmanager_configuration_test.go Chore: Remove CreateOrg from alerting and use orgStore instead (#59440) 2022-11-29 09:59:03 +01:00
api_alertmanager_test.go Chore: Remove CreateOrg from alerting and use orgStore instead (#59440) 2022-11-29 09:59:03 +01:00
api_available_channel_test.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
api_notification_channel_test.go Alerting: Upload images to Slack via files.upload (#59163) 2022-12-02 09:41:24 +00:00
api_prometheus_test.go RBAC: Move resource permissions store to service package (#53815) 2022-08-18 09:43:45 +02:00
api_provisioning_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
api_ruler_test.go RBAC: Move resource permissions store to service package (#53815) 2022-08-18 09:43:45 +02:00
testing.go Chore: Refactor quota service (#58643) 2022-11-14 21:08:10 +02:00