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.9.0
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.9.0.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openlineage_dbt-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.9 kB
Release files / openlineage-dbt-0.9.0.tar.gz
| Download URL | openlineage-dbt-0.9.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d8c5c6ea1973487fd29541e7334b69a64b9005191f1b109877418b359137b05
|
|
BLAKE2b-256 checksum How to use checksums |
b08fd5e86853bcc3cdf42b220813ce6ff098d95f6257d611c19a151e17257688
|
| 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.9.0-py3-none-any.whl
| Download URL | openlineage_dbt-0.9.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4cfc874dac04aec3283c5af078156feffffba5e81e6cf889e2d80b857dac2cdf
|
|
BLAKE2b-256 checksum How to use checksums |
36095c0c45cd15360e808816c57074b2839a78a86f7401c6be472b864a106aa4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.13
|