Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_dbt-model-dag

Analytics Engineering Transformation DAG (Staging -> Intermediate -> Marts)

7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Analytics Engineering Transformation DAG (Staging -> Intermediate -> Marts) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_dbt-model-dag/opengraph-image)](https://archos.sageideas.dev/d/dgm_dbt-model-dag)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_dbt-model-dag)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_dbt-model-dag" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Analytics Engineering Transformation DAG (Staging -> Intermediate -> Marts) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Raw Bronze Tables"]
  stg_1["Staging Views"]
  int_2[("Intermediate Models")]
  tst_3["Schema & Unit Tests"]
  mrt_4[("Gold Marts")]
  bi_5["Semantic Layer & BI"]
  downstream_6["Downstream & OTel"]
  client_0 -->|"1. Source · SQL"| stg_1
  stg_1 -->|"2. Join & · SQL"| int_2
  int_2 -->|"3a. Assert · dbt test"| tst_3
  int_2 -->|"3b. Incrementa · SQL"| mrt_4
  bi_5 -->|"Serve · SQL/BI"| mrt_4
  mrt_4 -.->|"4. Emit / · OTLP/API"| downstream_6

COMPONENT STACK (7)

  • Raw Bronze TablesSTATELESS
    CDC / Fivetran / S3
  • Staging ViewsSTATELESS
    Rename, cast types & dedup
  • Intermediate ModelsSTATEFUL
    Reusable business joins & SCD2
  • Schema & Unit TestsSTATELESS
    unique, not_null, ref integrity
  • Gold MartsSTATEFUL
    Partitioned fact & dim tables
  • Semantic Layer & BISTATELESS
    Governed KPI definitions
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Raw Bronze Tables → Staging Views (Source)[SQL]
  2. Staging Views → Intermediate Models (Join &)[SQL]
  3. Intermediate Models → Schema & Unit Tests (Assert)[dbt test]
  4. Intermediate Models → Gold Marts (Incrementa)[SQL]
  5. Semantic Layer & BI → Gold Marts (Serve)[SQL/BI]
  6. Gold Marts → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →