grafana/pkg/services
gotjosh 2448123a65
Alerting: Remove invalid Slack URL as we migrate notification channels (#40344)
* Alerting: Remove invalid Slack URL as we migrate notification channels

Grafana will accept any type of utf8 valid string as the Slack URL and will simply fail as we try to deliver the notification of the channel. The Alertmanager will fail to apply a configuration if the URL of the Slack Receiver is invalid.

This change takes that into account by removing the URL for the receiver as we migrate notification channels that do not pass the url validation. As we assume the notification was not being delivered to being with.

* Add a log line when we modify the channel

Co-authored-by: Yuriy Tseretyan <yuriy.tseretyan@grafana.com>
2021-10-12 18:55:39 -04:00
..
accesscontrol feat: fallback for displayname of non-fixed role without displayname (#40277) 2021-10-11 16:00:54 +01:00
alerting Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
annotations Chore: Replace util.DynMap with structs (#36332) 2021-07-01 10:23:33 +02:00
auth Chore: Add context to user (#39649) 2021-10-04 15:46:09 +02:00
cleanup Chore: Add context to user (#39649) 2021-10-04 15:46:09 +02:00
contexthandler Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
dashboards Chore: Propagate context for dashboard guardian (#39201) 2021-09-23 17:43:32 +02:00
dashboardsnapshots Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
datasourceproxy Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
datasources AWS: add OpenSearch to AWS services (#40290) 2021-10-11 15:53:04 +01:00
encryption Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
guardian Chore: Propagate context for dashboard guardian (#39201) 2021-09-23 17:43:32 +02:00
hooks Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
ldap LDAP: Search all DNs for users (#38891) 2021-09-14 10:49:37 +02:00
libraryelements Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
librarypanels LibraryPanels: Refactor to use context.Context instead of models.ReqContext (#39561) 2021-09-27 09:04:36 +02:00
licensing AccessControl: frontend changes for adding FGAC to licensing (#39484) 2021-10-05 14:54:26 +01:00
live Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
login Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
multildap Chore: Enable errorlint linter (#29227) 2020-11-19 14:47:17 +01:00
ngalert Alerting: Fixes a bug when trying to sync broken alertmanager config (#40338) 2021-10-12 18:10:08 +01:00
notifications Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
oauthtoken Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
pluginsettings Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
provisioning Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
quota Alerting: Remove ngalert feature toggle and introduce two new settings for enabling Grafana 8 alerts and disabling them for specific organisations (#38746) 2021-09-29 16:16:40 +02:00
rendering ImageRendering: fix leakage of the rendering inflight counter (#34607) 2021-08-28 09:05:03 +02:00
schemaloader Fix the disjuction of panels (#39412) 2021-10-06 11:39:23 +02:00
search Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
searchusers Create search filters by interface (#39843) 2021-10-07 16:06:16 +02:00
secrets Chore: Refactor secrets service (#40331) 2021-10-12 17:08:07 +03:00
shorturls Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
sqlstore Alerting: Remove invalid Slack URL as we migrate notification channels (#40344) 2021-10-12 18:55:39 -04:00
teamguardian chore: avoid aliasing imports in services (#22499) 2020-02-29 13:35:15 +01:00
validations Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00