flowchart TD
Src["Gateway mints a trace ID
on statement receipt"]:::src
A1["OpenTelemetry instrumentation
attaches trace ID at every hop"]:::trace
A2["Jaeger
stores the full trace as one timeline"]:::trace
A3["Engineer looks up one
statement's entire journey"]:::trace
B1["OpenTelemetry metrics
queue depth, lag, dead-letter rate"]:::metric
B2["Prometheus
scrapes & stores metrics as time series"]:::metric
B3["Grafana
dashboards a sysadmin watches"]:::metric
B4["Same numbers back the
Data Quality Monitor report"]:::metric
Src --> A1 --> A2 --> A3
Src --> B1 --> B2 --> B3 --> B4
classDef src fill:#37474f,stroke:#1c2529,color:#fff,font-size:13px
classDef trace fill:#2a9d8f,stroke:#1f7a6f,color:#fff,font-size:13px
classDef metric fill:#e9a23b,stroke:#b8791f,color:#222,font-size:13px
linkStyle default stroke:#999,stroke-width:2px