Skip to main content

DBT

Installation

Latest version is 0.3.0 (compatible with DBT 1.5.x-1.9.x)

pip install --extra-index-url=https://user:[email protected]/pypi/simple/ definity-agent-dbt

Env Vars

NameValueNote
DEFINITY_SERVER_URLhttps://app.definity.runmandatory
DEFINITY_TOKENyour-integration-tokenmandatory for SaaS
DEFINITY_ENVoptional
DEFINITY_PIPELINE_NAMEdefault - DBT project nameoptional
DEFINITY_PIPELINE_PITdefault - current timeLogical point in time
DEFINITY_TASK_NAMEdefault - DBT project nameoptional

Advanced

NameValueNote
DEFINITY_LOG_LEVELdefault - info
DEFINITY_SERVER_ATTEMPTSdefault - 2
DEFINITY_SERVER_ATTEMPT_SLEEPdefault - 10
DEFINITY_SERVER_TIMEOUTdefault - 5

Note - Airflow

When running from Airflow default values for app/task names and PIT will be taken from Airflow

Instrumentation

definity-agent-dbt dbt run