Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-drift-monitor

Model & Data Drift Monitor Internals (PSI, KS-Test & Ground-Truth Delay)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Model & Data Drift Monitor Internals (PSI, KS-Test & Ground-Truth Delay) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-drift-monitor/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-drift-monitor)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-drift-monitor)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-drift-monitor" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Model & Data Drift Monitor Internals (PSI, KS-Test & Ground-Truth Delay) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Online Model Server"]
  n1_1[("Inference Logger")]
  n2a_2["Feature Drift Engine"]
  n2b_3[("Delayed Label Joiner")]
  n3_4["Retrain / Rollback Trig"]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Log pred · Kafka"| n1_1
  n1_1 -->|"2a. Compute · Batch"| n2a_2
  n1_1 -.->|"2b. Join truth · SQL"| n2b_3
  n2a_2 -->|"3a. Alert/Trai · Webhook"| n3_4
  n2b_3 -->|"3b. Sync · Control"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Online Model ServerSTATELESS
    Logged Inputs + Scores
  • Inference LoggerSTATEFUL
    Async sampled
  • Feature Drift EngineSTATELESS
    PSI / KS-Test / JS-Divergence
  • Delayed Label JoinerSTATEFUL
    Joins fraud/click outcomes days
  • Retrain / Rollback TrigSTATELESS
    Pages ML on-call or triggers CI
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Online Model Server → Inference Logger (Log pred)[Kafka]
  2. Inference Logger → Feature Drift Engine (Compute)[Batch]
  3. Inference Logger → Delayed Label Joiner (Join truth)[SQL]
  4. Feature Drift Engine → Retrain / Rollback Trig (Alert/Trai)[Webhook]
  5. Delayed Label Joiner → Retrain / Rollback Trig (Sync)[Control]
  6. Retrain / Rollback Trig → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →