In the current OpenTelemetry CEP, context propagation is described at the query level using W3C Trace Context in the custom payload. My question is:
Will the CEP also support a session-scoped mode (e.g., via the STARTUP message) for attributes that remain constant over the lifetime of a connection? The idea is to do a hybrid approach as: - Session-scoped attributes → sent once at connection initialization, aligning with OTel *Resource attributes*. - Query-scoped attributes → sent with each operation, aligning with OTel *Span attributes*. This could reduce duplication of static values while still providing full observability at the query level. Jaydeep On Mon, Sep 22, 2025 at 7:48 AM Yuki Morishita <[email protected]> wrote: > One of the goal of the CEP is to define how drivers can send the tracing > context to Apache Cassandra through native protocol. > Implementation in driver side is out of scope for now, but once CEP is > accepted, any driver can implement it according to the standard defined. > > On Mon, Sep 22, 2025, 8:43 PM Johnny Miller <[email protected]> > wrote: > >> One question would be around the support for this in the other drivers, >> not just Java. It would be good to understand the plan for those as part of >> this CEP? >> >> On Mon, 22 Sept 2025 at 07:36, Yuki Morishita <[email protected]> wrote: >> >>> Hi, >>> >>> I'd like to propose CEP-32 OpenTelemetry tracing integration (1) so >>> Apache Cassandra can export its tracing telemetry in OpenTelemetry standard. >>> >>> The original draft of the proposal was integrating not only tracing but >>> also metrics and logs, however, the latest proposal reduced the scope so we >>> can get started in integrating OpenTelemetry standard. >>> >>> I'd like the opinion in 4 topics below: >>> >>> * How to configure OpenTelemetry >>> * The way of propagating Context >>> * Resource definition to describe Apache Cassandra node as a >>> telemetry source >>> * Span creation and its attributes >>> >>> Regards, >>> Yuki >>> >>> 1: >>> https://cwiki.apache.org/confluence/display/CASSANDRA/CEP-32%3A+OpenTelemetry+tracing+integration >>> >>
