dbt-py
Python module to enable dbt on steroids. Enable enhanced logging and alerting. This package installs an executable pydbt
that replaces the standard dbt
executable.
Sentry is integrated by default. Enable sentry by setting the default sentry environment variables.
Usage
Replace dbt
with pydbt
. For example:
pydbt run -m somemodel
Alerting
- Enable
slack
alerting by setting theSLACK_URL
environment variable.
Monitoring
- Enable
datadog
monitoring by setting theDATADOG_HOST
andDATADOG_PORT
environment variables. - Enable
prometheus
monitoring by setting thePUSHGATEWAY_HOST
andPUSHGATEWAY_PORT
environment variables.
Running locally
# Install package locally
make install
Running tests
make test