MX.Observability.OpenTelemetry 2.1.1

dotnet add package MX.Observability.OpenTelemetry --version 2.1.1
                    
NuGet\Install-Package MX.Observability.OpenTelemetry -Version 2.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MX.Observability.OpenTelemetry" Version="2.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MX.Observability.OpenTelemetry" Version="2.1.1" />
                    
Directory.Packages.props
<PackageReference Include="MX.Observability.OpenTelemetry" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MX.Observability.OpenTelemetry --version 2.1.1
                    
#r "nuget: MX.Observability.OpenTelemetry, 2.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MX.Observability.OpenTelemetry@2.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MX.Observability.OpenTelemetry&version=2.1.1
                    
Install as a Cake Addin
#tool nuget:?package=MX.Observability.OpenTelemetry&version=2.1.1
                    
Install as a Cake Tool

MX.Observability.OpenTelemetry

Hosting-agnostic core for the MX Observability libraries: configurable telemetry filter implementation, structured audit logging and scheduled job telemetry for .NET 9/10 applications using Azure OpenTelemetry.

The core package also includes availability telemetry support via IAvailabilityTelemetry, which emits microsoft.availability.* dimensions through ILogger so Azure Monitor can map entries into Application Insights availability data. This approach is based on the current Azure Monitor OpenTelemetry workaround discussed in azure-sdk-for-net issue #46509 and may need revisiting when first-class SDK support ships.

AvailabilityTelemetryEntry.Target is an optional named target identifier reserved for custom implementations of IAvailabilityTelemetry that route entries across multiple Application Insights sinks. The default OpenTelemetryAvailabilityTelemetry shipped here ignores Target and emits to the host's primary sink.

You normally do not reference this package directly. Reference one of the host-specific adapter packages instead, which transitively reference this core package and additionally wire the telemetry filter into the correct SDK pipeline:

See the GitHub repository for full documentation.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on MX.Observability.OpenTelemetry:

Package Downloads
MX.Observability.OpenTelemetry.WorkerService

Worker Service adapter for MX.Observability.OpenTelemetry. Wires the configurable telemetry filter into the OpenTelemetry pipeline and Azure Monitor exporters for Worker Services and Azure Functions isolated hosts.

MX.Observability.OpenTelemetry.AspNetCore

ASP.NET Core adapter for MX.Observability.OpenTelemetry. Wires the configurable telemetry filter into the OpenTelemetry pipeline and Azure Monitor exporters for ASP.NET Core web/API hosts.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.1 174 5/15/2026
2.0.4 127 5/14/2026
2.0.3 128 5/12/2026
2.0.2 134 5/8/2026
2.0.1 131 5/8/2026