DataHub Dagster Plugin
Automatic lineage and run metadata from Dagster into DataHub — captures asset definitions, job runs, and dataset-level lineage with no manual instrumentation.
What you can do
- Capture asset lineage — automatically extract upstream/downstream relationships between Dagster assets and external datasets
- Track run history — record job execution status and task-level outcomes in DataHub
- Map Dagster assets to DataHub entities — assets appear as datasets in your DataHub catalog
- Works with any DataHub deployment — self-hosted or DataHub Cloud
Installation
pip install acryl-datahub-dagster-plugin
Quickstart
Add the DataHub sensor to your Dagster project:
from datahub.ingestion.graph.config import DatahubClientConfig
from datahub_dagster_plugin.sensors.datahub_sensors import (
DatahubDagsterSourceConfig,
make_datahub_sensor,
)
config = DatahubDagsterSourceConfig(
datahub_client_config=DatahubClientConfig(server="http://localhost:8080"),
dagster_url="http://localhost:3000",
)
datahub_sensor = make_datahub_sensor(config=config)
Register it alongside your jobs and assets in your Definitions:
from dagster import Definitions
defs = Definitions(
assets=[...],
jobs=[...],
sensors=[datahub_sensor],
)
Once the sensor is running, every job run will emit lineage and status metadata to DataHub automatically.
Links
Metadata
Release files for acryl-datahub-dagster-plugin 1.7.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| acryl_datahub_dagster_plugin-1.7.0.12.tar.gz | 21.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| acryl_datahub_dagster_plugin-1.7.0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.8 kB
Release files / acryl_datahub_dagster_plugin-1.7.0.12.tar.gz
| Download URL | acryl_datahub_dagster_plugin-1.7.0.12.tar.gz |
|---|---|
| Size | 21.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1e167583d759b536ab385928c707e290f84127d31b5c253b83ed1cf3ed61f73
|
|
BLAKE2b-256 checksum How to use checksums |
b0d60e42b5e13712315e16e60be14e682b75534d78e929ad031ad4cdd851f72d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|
Release files / acryl_datahub_dagster_plugin-1.7.0.12-py3-none-any.whl
| Download URL | acryl_datahub_dagster_plugin-1.7.0.12-py3-none-any.whl |
|---|---|
| Size | 21.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1fa12bb4dafa3f2670dca0bfead8ac893b59c334f9f611b78ba621cbffef99a
|
|
BLAKE2b-256 checksum How to use checksums |
2274fb801bda6ff63c08b5e2ecb72f0c61ce8e269af39cd86e79343f60cc944a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|