Skip to main content

DBT

Installation

Latest version is 0.4.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

Technical Parameters

NameValueNote
DEFINITY_SERVER_URLhttps://app.definity.runmandatory
DEFINITY_TOKENyour-integration-tokenmandatory for SaaS
DEFINITY_ENVoptional

Applicative Parameters

NameValueNote
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

# instead of "dbt run"
definity-dbt run