Published in


OpenTelemetry .NET Beta Released!

Today, we are happy to announce that the OpenTelemetry .NET SDK has reached beta. This means that you can now begin integrating the OpenTelemetry .NET SDK into your applications and libraries to capture and export metrics and traces.

Our beta, as pointed out in the previous post, had been delayed to ensure a smooth integration between OpenTelemetry and .NET Activity API. This post highlighted a collaboration between the OpenTelemetry .NET community and the .NET team at Microsoft, with the goal of having an OpenTelemetry-compatible API as part of the .NET runtime itself. This workstream is now complete, and starting with this release, .NET Activity API can be used as the OpenTelemetry Tracing API.

The new official recommendation from the OpenTelemetry .NET community is to use the .NET Activity API as OpenTelemetry Tracing API. This allows users to produce OpenTelemetry compatible traces, by using a platform standard API without taking any external dependencies. The .NET Activity API is shipped as part of the System.Diagnostics.DiagnosticSource package, and can be used in all supported .NET versions — including .NET Framework 4.5.2 and above; .NET Core 2.1 and above.

For users who are already familiar with OpenTelemetry terminology and want to stick to it, the OpenTelemetry API package provides a compatibility layer. This layer, built as a thin layer on top of the .NET Activity, exposes OpenTelemetry specification primitives such as Span. A detailed comparison of OpenTelemetry Trace API and .NET Activity API is available here.

This beta release brings the following:

  • OpenTelemetry SDK, which can be used along with .NET Activity API or with the OpenTelemetry API.

As with all beta releases, here are a few things to keep in mind:

  • In the upcoming weeks, OpenTelemetry .NET will undergo several beta releases — this is simply the first.

This beta milestone is a huge accomplishment for the OpenTelemetry community, and every contributor should be proud of the fact that OpenTelemetry .NET is now working and ready for usage. Additionally, while the beta was delayed, OpenTelemetry .NET SDK is still on track and is expected to be Generally Available (GA) for consumption, by the end of this year.

Between now and GA lies a great opportunity for:

  • Maintainers of client libraries to begin instrumenting with .NET Activity APIs

Anyone interested in contributing to or learning more about OpenTelemetry .NET are welcome to join our rapidly growing community in GitHub, Gitter, or our weekly community meeting!



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store