Skip to content

Releases: opentracing-contrib/csharp-netcore

v0.2.0

24 Mar 14:37
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Enhancements:

  • NuGet package now uses OpenTracing logo #4
  • Sends logging events from Microsoft.Extensions.Logging to tracer.ActiveSpan.Log() #7
  • If no tracer is registered, the instrumentation is not started (= zero overhead) #8
  • Performance optimizations (only one observer per DiagnosticListener etc)

Infrastructure:

  • Added a Benchmark project with some simple comparisons between no instrumentation/Noop/Mock

v0.1.0

12 Mar 18:19
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

Initial release. Adds OpenTracing instrumentation for the following components:

  • Any library/framework that uses .NET's DiagnosticSource and Activity types (from System.Diagnostics.DiagnosticSource)
  • Incoming ASP.NET Core requests
  • Outgoing HTTP calls
  • Entity Framework commands

This library targets netcoreapp2.0 and therefore only supports .NET Core 2.0+ based apps (ASP.NET Core and non-web based apps).

To start the instrumentation, add the package reference OpenTracing.Contrib.NetCore and call services.AddOpenTracing() in your ConfigureServices method.

Note that you need an OpenTracing compatible tracer to consume this data.