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

Technical Parameters

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

Applicative Parameters

| DEFINITY_PIPELINE_NAME | default - DBT project name | optional | | DEFINITY_PIPELINE_PIT | default - current time | logical point in time | | DEFINITY_TASK_NAME | default - DBT project name | optional |

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