Microsoft Teams alerts
Configure Microsoft Teams
1. Create a new team and/or channel
First, create a new Team or add a new channel to an existing team to receive the alerts. Ensure the channel's type is set to Standard.
2. Create Teams Webhook
To setup an incoming webhook in our channel:
Go to a channel in your Team and choose
Manage channel.
Choose
Edit
connectors.Search for
Incoming webhook
and chooseAdd
.Choose
Add
again and add name your webhookParadime
(or any other name you prefer).(Optional) You can add the Paradime logo for the Bot. Download this here.
When done, click on Create
the webhook. Now copy the URL of the webhook, you will need this later when configuring the alerts.
Configure a Bolt schedule with Elementary CLI
Alert on tests and models
Configure a Bolt schedule with the edr monitor
CLI command at the end. Ideally this should be the command after your dbt runs and tests:
dbt run
dbt test
edr monitor --teams-webhook <your_teams_webhook>
Alert on source freshness failures
To alert on source freshness, you will need to run edr run-operation upload-source-freshness
right after each execution of dbt source freshness
. This operation will upload the results to a table, and the execution of edr monitor
will send the actual alert.
dbt source freshness
edr run-operation upload-source-freshness --project-dir .
edr monitor --teams-webhook <your_teams_webhook>
Last updated
Was this helpful?