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.11.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.

File details

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

File metadata

File hashes

Hashes for acryl_datahub_dagster_plugin-1.6.0.11.tar.gz
Algorithm Hash digest
SHA256 1c91756f69cbc2d5a9e8d58b5b745afa79551e44e56b1c339074956c2a02c4ab
MD5 7b1c7264412f1ec4ea7d83ed06eab8c2
BLAKE2b-256 1c393a8646b1d7f8e8561b5c042f6c2e01ee0a7dfd37bd4896cc03d65ce36a4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for acryl_datahub_dagster_plugin-1.6.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 cbb723755b4452bbbfbd840b8b91abd5f60298d3e56897841929cd4651dc5433
MD5 f8002a6ce374cd35955dc75afdd67d78
BLAKE2b-256 886d8f6308ba6f386e11e049b3ab487885e6c5455c076211a124a8e6e2439b3d

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