OpenLineage dbt integration
Wrapper script for automatic metadata collection from dbt
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 the OpenLineage client to push data to the OpenLineage backend.
The 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, a result of running dbt docs generate, will be found in the target directory.
SPDX-License-Identifier: Apache-2.0
Copyright 2018-2022 contributors to the OpenLineage project
Metadata
Release files for openlineage-dbt 0.18.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.18.0.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openlineage_dbt-0.18.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / openlineage-dbt-0.18.0.tar.gz
| Download URL | openlineage-dbt-0.18.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de57c1d96244bd176dd8d7a7e88f32a33265297b8074959ae880d3be4d4dd31a
|
|
BLAKE2b-256 checksum How to use checksums |
5652cb8c366b0974ea824f724fcd81fb9dcfd63e3910f320ecb131578b8d480e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.15
|
Release files / openlineage_dbt-0.18.0-py3-none-any.whl
| Download URL | openlineage_dbt-0.18.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c17da398aefd24445e38453baac9e5b7a1ff39b4f9909f4c71b8b86a8eb65980
|
|
BLAKE2b-256 checksum How to use checksums |
06805a4909e314839db6b70850fe87622638799db6c9c62808bd794ce5bf2443
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.15
|