File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
Grafana.OpenTelemetry.Base/Instrumentations Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 162162* Use 1.12.0-beta.1 of OpenTelemetry.Resources.OperatingSystem ([ #145 ] ( https://github.com/grafana/grafana-opentelemetry-dotnet/pull/145 ) )
163163* Use 1.12.0-beta.1 of OpenTelemetry.Resources.Process ([ #145 ] ( https://github.com/grafana/grafana-opentelemetry-dotnet/pull/145 ) )
164164* Use 1.12.0-beta.1 of OpenTelemetry.Resources.ProcessRuntime ([ #145 ] ( https://github.com/grafana/grafana-opentelemetry-dotnet/pull/145 ) )
165+ * Use 3.22.0 of CassandraCSharpDriver
166+ ([ #202 ] ( https://github.com/grafana/grafana-opentelemetry-dotnet/pull/202 ) )
167+ * Enable tracing for Cassandra instrumentation (requires the
168+ ` CassandraCSharpDriver.OpenTelemetry ` NuGet package to be installed)
169+ ([ #202 ] ( https://github.com/grafana/grafana-opentelemetry-dotnet/pull/202 ) )
165170
166171### Bug Fixes
167172
Original file line number Diff line number Diff line change 44//
55
66using OpenTelemetry . Metrics ;
7+ using OpenTelemetry . Trace ;
78
89namespace Grafana . OpenTelemetry
910{
@@ -19,5 +20,10 @@ protected override void InitializeMetrics(MeterProviderBuilder builder)
1920 "AddCassandraInstrumentation" ,
2021 new object [ ] { builder } ) ;
2122 }
23+
24+ protected override void InitializeTracing ( TracerProviderBuilder builder )
25+ {
26+ builder . AddSource ( "CassandraCSharpDriver.OpenTelemetry" ) ;
27+ }
2228 }
2329}
Original file line number Diff line number Diff line change 2020 </ItemGroup >
2121
2222 <!-- This dependency is pulled in by `OpenTelemetry.Instrumentation.Cassandra` with a minimum
23- version of 3.16.0. We change this to 3.17.0, as the previous versions have dependency
24- requirements that conflict with recent .NET package versions. -->
23+ version of 3.16.0. We change this to 3.22.0 to add support for tracing. -->
2524 <ItemGroup >
26- <!-- TODO Bump to 3.22.0? -->
27- <PackageReference Include =" CassandraCSharpDriver" Version =" [3.17.0,)" />
25+ <PackageReference Include =" CassandraCSharpDriver" Version =" [3.22.0,)" />
2826 </ItemGroup >
2927
3028 <ItemGroup Label =" Stable instrumentation packages with dependencies" >
You can’t perform that action at this time.
0 commit comments