marmotdata/dagster
Discover jobs, ops and software-defined assets from Dagster
Dagster The Dagster plugin discovers jobs, the ops inside them, and software-defined assets from a Dagster webserver.
It reads everything through the GraphQL endpoint at {host}/graphql, so it works against both open source Dagster and Dagster+. For Dagster+, set token and the plugin sends it as the Dagster-Cloud-Api-Token header.
Assets
Pipelineper job, named after the job. Schedules, sensors and a summary of recent runs are attached as metadata.Taskper op, named after its op handle. Its MRN ismrn://asset/task/dagster/<job>.<op handle>.Datasetper software-defined asset, named after its asset key joined with/, with one MRN level per key segment. ATableSchemametadata entry becomes the asset's columns.
Dagster's implicit asset jobs (the ones named __ASSET_JOB) are skipped.
Set zone when you catalogue more than one Dagster deployment. It becomes part of every MRN, for example mrn://asset/pipeline/dagster@prod/etl_job.
Lineage
Pipelines contain their Tasks, Tasks depend on the Tasks feeding their inputs, Datasets feed the Datasets built from them, and a Pipeline produces every Dataset it materialises. When an asset names a warehouse table and its compute kind is Snowflake, BigQuery, Postgres or DuckDB, the Dataset also produces that native table, named <database>.<schema>.<table> as the warehouse's own plugin names it.
In the UI
Point and click, no config file needed.
- Open Runs and choose Create pipeline.
- Pick Dagster from the plugin list.
- Fill in the settings, set a schedule and save.
With the CLI
Save a YAML config, then run marmot ingest.
Not using plugins? Other ways to populate Marmot
Configuration
Fields marked Required must be set.
tagsList of textTags to apply to discovered assets
external_linksList of groupsExternal links to show on all assets
nameTextDisplay name for the link
iconTextIcon identifier for the link
urlTextURL to the external resource
filterGroup of settingsFilter discovered assets by name (regex)
includeList of textInclude patterns for resource names (regex)
excludeList of textExclude patterns for resource names (regex)
zoneTextTells this system apart from others of the same technology and becomes part of every asset's MRN
hostText RequiredDagster webserver URL, for example http://localhost:3000
tokenSecretDagster+ API token
verify_sslYes or noCheck the server's TLS certificate
include_opsYes or noDiscover the ops inside each job as Task assets
include_assetsYes or noDiscover software-defined assets as Dataset assets
include_run_historyYes or noCollect recent runs of each job
run_history_limitNumberHow many recent runs to read per job
code_locationsList of textOnly discover these code locations. Empty means all of them
Assets emitted
Metadata this plugin attaches to each discovered asset.
Pipeline
The metadata fields the Dagster plugin emits for Pipeline assets, one per job.
Task
The metadata fields emitted for Task assets, one per op in a job.
Dataset
The metadata fields emitted for Dataset assets, one per software-defined asset. Any metadata a user attaches to the asset in Dagster is flattened alongside these, keyed by its label.
Column
The per-column fields taken from an asset's TableSchema metadata entry and embedded in the asset's schema.