This
release adds the RequestTracker interface and a new extension package that provides OpenTelemetry Tracing support.
Users can provide an implementation of the RequestTracker interface to the driver to track the requests that their application is executing. Users that are familiar with the Java driver will recognize this interface but keep in mind that the C# driver does not provide any implementation out of the box (the java driver provides a
request logger for example). Check out the Request Tracker
documentation here.
The new extension package is
CassandraCSharpDriver.OpenTelemetry. This package provides a RequestTracker implementation that uses OpenTelemetry to collect trace data. There's a few images that showcase this functionality
on this PR comment. Check out the documentation for this
extension here.
At this time the driver only allows a single RequestTracker instance to be provided. If you want to provide multiple RequestTracker instances you can create your own RequestTracker implementation that leverages the composite pattern to support this use case.