Notifications¶
Added in version 0.7.
The notifications
application is a simple way to send notifications to a webhook.
Currently the application supports sending notifications to Slack and Google Chat.
Notificaitons will be sent when an error occurs within a transaction.
The notification will include information about the error and the transaction that caused it.
Note
The notifications application is not loaded by default. You need to add it to your configuration file.
Configuration¶
To configure the notifications application, you need to add the following settings to your configuration file. The Notifications application can work with multiple services at the same time.
notifications:
slack_webhook_url: https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXX
google_chat_webhook_url: https://chat.googleapis.com/v1/spaces/XXXXXXXX
If you want the notifications to include a link to your dashboard, you need to add the public_url settings to your dashboard configuration.
notifications:
slack_webhook_url: https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXX
google_chat_webhook_url: https://chat.googleapis.com/v1/spaces/XXXXXXXX
dashboard:
public_url: http://localhost:4080