Tracing
OpenTelemetry
Prefer standard OTLP HTTP for customer traces. Mydle stores observed spans only — no synthetic fill.
Customer OTLP
Point your OTLP HTTP exporter at /api/traces/v1/otlp with a tracing source token. Details: OTLP Ingestion.
Platform SDK
Mydle bootstraps a Node OpenTelemetry SDK for mydle-web and mydle-worker:
BatchSpanProcessorwith bounded queue / batch / timeout.- Sampler: ParentBased(TraceIdRatioBased) — see Sampling.
- Fail-open: missing endpoint or export errors do not break requests.
Limitations
- OTLP metrics / logs are not first-class product surfaces.
- Platform and customer telemetry are not auto-merged into one graph.