Releases: opentracing-contrib/csharp-netcore
Releases · opentracing-contrib/csharp-netcore
v0.2.0
Enhancements:
- NuGet package now uses OpenTracing logo #4
- Sends logging events from
Microsoft.Extensions.Logging
totracer.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
Initial release. Adds OpenTracing instrumentation for the following components:
- Any library/framework that uses .NET's
DiagnosticSource
andActivity
types (fromSystem.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.