The OTLP specification defines two transports: HTTP (port 4318) and gRPC
(port 4317). The existing exporter setup only supports HTTP/HTTPS schemes.
This adds gRPC support via URL scheme dispatch:
- grpc://host:port → plaintext gRPC
- grpcs://host:port → TLS-secured gRPC
Many observability backends (Jaeger, Tempo, Datadog) prefer gRPC for its
lower overhead. Both otlptracehttp and otlptracegrpc return the same
*otlptrace.Exporter type, so only the exporter construction changes.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>