Skip to main content

DataHub Dagster plugin — automatically capture asset lineage, run history, and job metadata from Dagster pipelines

Project description

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

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

acryl_datahub_dagster_plugin-1.6.0.15.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acryl_datahub_dagster_plugin-1.6.0.15-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file acryl_datahub_dagster_plugin-1.6.0.15.tar.gz.

File metadata

File hashes

Hashes for acryl_datahub_dagster_plugin-1.6.0.15.tar.gz
Algorithm Hash digest
SHA256 b59a9a82e985804485cb08e68c94eae5980006854e0728ae6659d38a30cc84e7
MD5 daffc56e746b0f136fda5c13823e24ec
BLAKE2b-256 ff7fc47bb8021c1bdca7f4a47afb8fbfa90b1d6e12780a35ea0f2521da316ca8

See more details on using hashes here.

File details

Details for the file acryl_datahub_dagster_plugin-1.6.0.15-py3-none-any.whl.

File metadata

File hashes

Hashes for acryl_datahub_dagster_plugin-1.6.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 3959c2c49965788895507d5b20352ec2120b7369afdbf3f635efd6f93cd2b07b
MD5 7fe105dc0140ae37b8d7044bd5775b90
BLAKE2b-256 7e1c9f1cf29575798e4522640796290855212bc3f2568ec9a77eb1c8b60828e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page