Elementary Data
Last updated
Last updated
For new Elementary data users, we recommend starting out Elementary Data's Tutorial Guide to understand the core concepts and implementation.
With Elementary, an open-source data observability solution, data and analytics engineers can achieve instant visibility into their dbt projects. It streamlines the process of detecting data anomalies, issuing targeted alerts, and unraveling both impact and root causes.
Paradime seamlessly integrates with Elementary, offering a ready-to-use installation of the Elementary CLI.
To start using Elementary, you need to add the Elementary dbt package to your dbt project.
packages.yml
Add the following to your packages.yml
file (if missing, create it on the same path s yourdbt_project.yml)
:
dbt_project.yml
Paradime simplifies the setup process by providing a pre-configured Elementary profile that works with your default connections for both IDE and Scheduler.
By default, the Elementary schema name is set as <target_schema>_elementary
. You can override this by setting a system variable called PARADIME_EDR_SCHEMA
. For instructions on configuring environment variables, click here.
dbt_project.yml
:This configuration ensures Elementary models have their own schema.
dbt_project.yml
:Starting from dbt 1.8, you must explicitly allow the Elementary packages to override default dbt™ materializations. Elementary needs this permission to collect samples and failed row counts for dbt tests.
These flags may trigger a deprecation warning. Elementary is collaborating with the dbt core team on a permanent solution. To mute the warning, to mute this warning, add the following flag:
Once you've configured your Elementary in your packages.yml
and dbt_project.yml
, Run the following dbt commands to install Elementary and materialize the initial elementary models in your data warehouse:
This will mostly create empty tables, that will be updated with artifacts, metrics and test results in your future dbt™ executions. (This is required for both environments, IDE and Scheduler.)
After installing and configuring Elementary, you're ready generate a variety on test, including: Anomaly Detection Tests, Schema Tests, etc.
Additionally, you can leverage you can leverage DinoIA's one-click command, Generate Elementary Tests to automatically create comprehensive tests tailored to your dbt™ model's structure and content. This ensures a seamless setup of data observability across your project.
When complete, execute execute dbt test
to verify setup.
Paradime Alerts allow you to set up and manage notifications for your dbt™ projects, keeping you informed of important events and anomalies. With support for both Slack and Microsoft Teams, you can customize your alerts to fit your team's communication preferences. See docs for details.
While this documentation demonstrates running Elementary in a development environment, you can execute Elementary command in your Production Schedules (Bolt)