OpenLineage dbt integration
Wrapper script for dbt for automatic metadata collection
Features
Metadata
- Model run lifecycle
- Model inputs / outputs
Requirements
Right now, openlineage-dbt only supports bigquery, snowflake, spark and redshift dbt adapters.
Installation
$ pip3 install openlineage-dbt
To install from source, run:
$ pip install .
Configuration
HTTP Backend Environment Variables
openlineage-dbt uses OpenLineage client to push data to OpenLineage backend.
OpenLineage client depends on environment variables:
OPENLINEAGE_URL- point to service which will consume OpenLineage eventsOPENLINEAGE_API_KEY- set if consumer of OpenLineage events requiresBearerauthentication keyOPENLINEAGE_NAMESPACE- set if you are using something other than thedefaultnamespace for job namespace.
Usage
To begin collecting dbt metadata with OpenLineage, replace dbt run with dbt-ol run.
Additional table and column level metadata will be available if catalog.json, result of running dbt docs generate will be found in target directory.
Metadata
Release files for openlineage-dbt 0.13.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openlineage-dbt-0.13.1.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openlineage_dbt-0.13.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.0 kB
Release files / openlineage-dbt-0.13.1.tar.gz
| Download URL | openlineage-dbt-0.13.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2ef572b7df70f479c6ecdd84a7fb13d3857a445529a93750829af2a277bc3a7
|
|
BLAKE2b-256 checksum How to use checksums |
81809f3601ba77eedc1c3114784d0a3b70239e5624dc9483aeddc6d1961ace7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.13
|
Release files / openlineage_dbt-0.13.1-py3-none-any.whl
| Download URL | openlineage_dbt-0.13.1-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cfef028dff5ea9a242c61516110826f0be0bf9152556a606ccef1853e314ab4a
|
|
BLAKE2b-256 checksum How to use checksums |
bbe6d06e9a28e792decf1809d6e27ea236a79062d229f85eb19e3caf319d7c18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.13
|