Add monitors as tests

Execute dbt run:

Before you can start using Elementary monitors as tests, execute dbt run at least once with the Elementary package models, which are required for the tests to work.
This will create mostly empty tables, that will be updated by the tests executions. The fact that the tables are empty means that there will be minimal to no performance impact on your dbt runs.

Configure data monitoring as tests:

After you install the dbt package in your project, the following tests will be available for you to use just like native dbt tests:
Model / Source tests: elementary.table_anomalies elementary.all_columns_anomalies elementary.schema_changes
Column test: elementary.column_anomalies
For each table, it is important to configure a timestamp column (if there is one). The best column for this will have an 'updated at' timestamp for each row. Add and configure the monitors as tests from within your dbt project:
models
models tests example
sources
sources tests example
How to configure wlwmwntary tests on models

What happens on each test?

On each test elementary package executes the relevant monitors, and searches for anomalies by comparing to historical metrics. At the end of the dbt test run, all results and collected metrics are merged into the elementary models.