pkg/util/log: Add support for OTLP sink #143049
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-observability
Describe the solution you'd like
Implement an OTLP sink for CockroachDB logging that sends logs in OpenTelemetry format via gRPC (and optionally HTTP/JSON). It should expose configuration parameters (e.g., endpoint, port, auth headers) and integrate with the existing logging framework similar to HTTP and Fluent sinks.
OTLP leverages protocol buffers for efficient binary serialization, reducing payload sizes and enhancing performance compared to text-based formats. Its support for gRPC enables low-latency, high-throughput communication, while HTTP/JSON provides compatibility when needed.
Why we should do this
CRDB -> fluentbit -> otel-agent -> customer
]. Adding OTLP support would significantly simplify this pipeline.References
Jira issue: CRDB-48633
The text was updated successfully, but these errors were encountered: