[Release] DataStax C# Driver v3.22.0

7 views
Skip to first unread message

Joao Reis

unread,
Sep 30, 2024, 1:57:54 PM9/30/24
to DataStax C# Driver for Apache Cassandra User Mailing List
Hi,

Version 3.22.0 of the DataStax C# Driver for Apache Cassandra is now generally available.

This release adds the RequestTracker interface and a new extension package that provides OpenTelemetry Tracing support.

This was a huge community contribution, massive thanks to Simão Ribeiro for driving this initiative!

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.

The documentation will be published to the DataStax website soon (including the API docs) - it should be up by tomorrow.

See the full list of improvements and bug fixes contained in this release below.

New Features

Check out the changelog and JIRA for more information.

The new version is available on nuget.org.

João Reis  

w. www.datastax.com

     

Joao Reis

unread,
Oct 2, 2024, 6:45:24 AM10/2/24
to DataStax C# Driver for Apache Cassandra User Mailing List
I forgot to mention, there's a couple of new example projects on the Examples directory of the repo, one of them showcases Distributed Tracing using 2 applications (a client and an ASP.NET Core Web API that uses the DataStax C# Driver). Note that all the example projects are part of a single Solution - you can set the 2 projects under Distributed Tracing as startup projects to run this particular example.

Also, the driver docs for 3.22 are now live (new pages: OpenTelemetry and RequestTracker).

João Reis  

w. www.datastax.com

     


Reply all
Reply to author
Forward
0 new messages