OpenLineage integration with dbt
Project description
OpenLineage dbt integration
Wrapper script for dbt for automatic metadata collection
Features
Metadata
- Model run lifecycle
- Model inputs / outputs
Requirements
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 requiresBearer
authentication key
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
openlineage-dbt-0.1.0.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for openlineage_dbt-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47c265bc3a5c9af3b1bcda192585f9ac853955cacc538155939c4bd0674086e4 |
|
MD5 | 8471aa9c8d6b1c27cbf88995a1a7f15a |
|
BLAKE2b-256 | 021a0d6cc7cf1a27ed41ba161d51ab3df35f7243dbcb0f34b9b60d97549f9010 |