open-telemetry / otel-arrow

Protocol and libraries for sending and receiving OpenTelemetry data using Apache Arrow
Apache License 2.0
63 stars 13 forks source link

Propagate deadline through OTel-Arrow components #227

Open jmacd opened 1 month ago

jmacd commented 1 month ago

The exporter should propagate the deadline of the caller into the received context. The receiver should optionally apply the callers context or possibly ignore it but set a preconfigured deadline for the consumer call. Otherwise, we are calling the OTel pipeline without any deadline, which is dangerous.

This can be done using the existing header propagation mechanism.

jmacd commented 3 weeks ago

We are blocked on https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/33579