Notification.Notify (etl_core v1.0.0)
Module responsible for sending notifications to other spaces: Slack, Email, etc.
Summary
Functions
Sends a message to Slack, splitting it into chunks of up to 3000 characters.
Send notifications to Slack
Functions
Link to this function
notify_slack(url, headers, env, info)
Sends a message to Slack, splitting it into chunks of up to 3000 characters.
Parameters:
- url: String. The Slack webhook URL.
- headers: List. The HTTP headers for the request.
- env: String. The environment where the message is sent from.
- info: String. The message content to be sent.
Link to this function
notify_slack(url, headers, env, msg, error)
Send notifications to Slack
Parameter:
- url: String. Url to send the notification.
- headers: List.
- env: String.
- msg: Map.
- error: Exception.