initialize_slack_alerts#
- gafaelfawr.slack.initialize_slack_alerts(hook_url, application, logger)#
Configure Slack alerting.
Until this function is called, all Slack alerting will be disabled.
- Parameters:
hook_url (
str) – The URL of the incoming webhook to use to publish the message.application (
str) – Name of the application reporting an error.logger (
BoundLogger) – Logger to which to report errors sending messages to Slack.
- Return type: