Get Slack alerts

Install CLI

Start by downloading and installing elementary-data CLI.
To install the monitor module, run:
1
pip install elementary-data
Copied!
Run one of the following commands based on your platform (no need to run all):
1
pip install elementary-data[snowflake]
2
pip install elementary-data[bigquery]
3
pip install elementary-data[redshift]
Copied!
1
# The tool is named edr (Elementary Data Reliability),
2
# run it to validate the installation:
3
edr --help
Copied!

Add connection profile for edr

In order to connect, elementary needs a profile in a file named profiles.yml
  • Path: HOME_DIR/.dbt/profiles.yml
  • Profile name: elementary
Snowflake
Bigquery

Configure Slack

To get Slack notifications, you will need to add a slack webhook to config yml. Create it here:
HOME_DIR/.edr/config.yml
Here is the format in the yml itself:
1
# alerts destination #
2
slack:
3
notification_webhook: <your_slack_webhook_url>
Copied!
Now you can execute the CLI, to get alerts. Make sure to run the following command after your dbt runs and tests -
1
edr monitor
Copied!
In order to monitor continuously, use your orchestrator to execute it regularly (we recommend running it right after your dbt job ends to monitor the latest data updates). If you need help or wish to consult on this, reach out to us on Slack.