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
<PackageReference Include="MX.Observability.OpenTelemetry" Version="2.1.1" />
<PackageVersion Include="MX.Observability.OpenTelemetry" Version="2.1.1" />
<PackageReference Include="MX.Observability.OpenTelemetry" />
paket add MX.Observability.OpenTelemetry --version 2.1.1
#r "nuget: MX.Observability.OpenTelemetry, 2.1.1"
#:package MX.Observability.OpenTelemetry@2.1.1
#addin nuget:?package=MX.Observability.OpenTelemetry&version=2.1.1
#tool nuget:?package=MX.Observability.OpenTelemetry&version=2.1.1
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:
MX.Observability.OpenTelemetry.AspNetCore— for ASP.NET Core hosts usingAddObservability()MX.Observability.OpenTelemetry.WorkerService— for Worker Service / Functions isolated hosts usingAddObservability()
See the GitHub repository for full documentation.
| Product | Versions 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. |
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.5)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.5)
- OpenTelemetry (>= 1.12.0)
-
net9.0
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.5)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.5)
- OpenTelemetry (>= 1.12.0)
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.