OpenTelemetry: API Design & Integration Surface
Docs-backedOpenTelemetry SDKs expose a programmatic API for creating spans, recording metrics, and emitting log records. The OTel Collector accepts OTLP (gRPC port 4317, HTTP port 4318) and can be configured to filter, batch, and export to multiple backends. The Collector configuration is YAML-based with a REST endpoint for live config in newer versions. SDK API is stable (trace and metric APIs are GA; logs API is RC). Protocol is OTLP over gRPC or HTTP. No REST query API — that's the backend's responsibility (Jaeger, Prometheus, etc.).