opentelemetry-java-instrume.../docs
Simone Giusso 1a7e0f3235
Instrumenting cassandra executeReactive method (#6441)
It follows the
[issue](https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/6395#issue-1323561263)
I opened some days ago.

The `executeReactive` method use the same processor used by
`executeAsync` (see
[here](65d2c19c40/core/src/main/java/com/datastax/dse/driver/internal/core/cql/reactive/CqlRequestReactiveProcessor.java (L53)))
and wrap the callback in the `DefaultReactiveResultSet` publisher.

Here I'm simply overriding the `executeReactive` method doing the same
thing: call the already instrumented `executeAsync` method and wrapping
the callback using the `DefaultReactiveResultSet` publisher.

~~I did an upgrade of the `java-driver-core` library to have
`TracingCqlSession.java` extending the `ReactiveSession`. I have to
probably rename the `cassandra-4.0` module in `cassandra-4.14` but I'll
let you confirm this.~~ -> Cassandra-4.4 is enough.

---------

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-03-08 07:55:00 -08:00
..
apidiffs Post release steps (#7563) 2023-01-13 10:09:28 +01:00
contributing Update contributing doc for instrumentationModule (#7803) 2023-02-11 12:43:06 -08:00
misc Introduce markdown lint check (#7175) 2022-11-16 20:48:42 -08:00
advanced-configuration-options.md Move advanced config to separate page (#5693) 2022-03-28 10:00:23 -07:00
agent-features.md Use "class loader" instead of "classloader" consistently in docs and comments (#6236) 2022-06-30 14:57:07 -07:00
java-7-rationale.md Introduce markdown lint check (#7175) 2022-11-16 20:48:42 -08:00
logger-mdc-instrumentation.md Introduce markdown lint check (#7175) 2022-11-16 20:48:42 -08:00
safety-mechanisms.md Use "class loader" instead of "classloader" consistently in docs and comments (#6236) 2022-06-30 14:57:07 -07:00
scope.md Introduce markdown lint check (#7175) 2022-11-16 20:48:42 -08:00
supported-libraries.md Instrumenting cassandra executeReactive method (#6441) 2023-03-08 07:55:00 -08:00