Guide for running Spanda Control Center observability exports against a highly available OpenTelemetry collector tier.
Control Center ──POST /v1/observability/otlp/export──► OTLP Collector (HA)
│ │
│ ├──► Jaeger (traces)
│ └──► Prometheus/Mimir (metrics)
└── GET /v1/observability/backend
| Variable | Purpose |
|---|---|
SPANDA_OTLP_TRACES_ENDPOINT |
OTLP HTTP traces URL (e.g. http://collector:4318/v1/traces) |
SPANDA_OTLP_METRICS_ENDPOINT |
OTLP HTTP metrics URL |
SPANDA_OTLP_TOKEN |
Optional bearer token for collector auth |
retry_on_failure and sending_queue exporters.spanda-grafana-dashboards templates against the metrics backend.GET /v1/observability/backend — configured endpoints summaryGET /v1/observability/otlp/traces — trace preview before exportPOST /v1/observability/otlp/export — push traces (requires Deploy role)| Symptom | Mitigation |
|---|---|
| Collector 503 | LB routes to healthy replica; increase sending_queue size |
| Token expiry | Rotate SPANDA_OTLP_TOKEN via secret vault |
| Trace gaps | Enable correlation IDs (X-Correlation-ID) end-to-end |