Ingest Exposures from dbt
Ingest dbt exposures from themanifest.json file to extend lineage from your dbt models to the dashboards, ML models, and API endpoints that consume them.
Requirements
Supported Exposure Types
OpenMetadata maps a dbt exposure to an OpenMetadata entity based on itstype field:
Any other
type value is skipped during ingestion.
Ingesting dbt Exposures
Follow these steps to link a dbt exposure to an existing OpenMetadata entity.-
Add exposure information in your dbt project
Define the exposure in your dbt project (for example in
models/exposures.yml), and setmeta.open_metadata_fqnto the Fully Qualified Name of the corresponding entity already ingested in OpenMetadata. For more information, see Add Exposures to your DAG.After adding the exposure, run your dbt workflow (dbt compileordbt run). The generatedmanifest.jsonwill include the exposure under theexposureskey, with upstream models listed underdepends_on->nodes. -
Viewing the exposure lineage
Once ingested, the linked dashboard, ML model, or API endpoint appears as a downstream node in the Lineage tab of the upstream dbt table(s) listed under
depends_on.