![]() |
VOOZH | about |
dotnet add package AWS.Distro.OpenTelemetry.AutoInstrumentation --version 1.13.0
NuGet\Install-Package AWS.Distro.OpenTelemetry.AutoInstrumentation -Version 1.13.0
<PackageReference Include="AWS.Distro.OpenTelemetry.AutoInstrumentation" Version="1.13.0" />
<PackageVersion Include="AWS.Distro.OpenTelemetry.AutoInstrumentation" Version="1.13.0" />Directory.Packages.props
<PackageReference Include="AWS.Distro.OpenTelemetry.AutoInstrumentation" />Project file
paket add AWS.Distro.OpenTelemetry.AutoInstrumentation --version 1.13.0
#r "nuget: AWS.Distro.OpenTelemetry.AutoInstrumentation, 1.13.0"
#:package AWS.Distro.OpenTelemetry.AutoInstrumentation@1.13.0
#addin nuget:?package=AWS.Distro.OpenTelemetry.AutoInstrumentation&version=1.13.0Install as a Cake Addin
#tool nuget:?package=AWS.Distro.OpenTelemetry.AutoInstrumentation&version=1.13.0Install as a Cake Tool
Use the NuGet package in the following scenarios:
self-contained
applications.While NuGet packages are a convenient way to deploy automatic instrumentation, they can't be used in all cases. The most common reasons for not using NuGet packages include the following:
To automatically instrument your application with the AWS Distribution
of OpenTelemetry .NET add
the AWS.Distro.OpenTelemetry.AutoInstrumentation package to your project:
dotnet add [<PROJECT>] package AWS.Distro.OpenTelemetry.AutoInstrumentation --prerelease
If the application references packages that can be instrumented, but require other packages for the instrumentation to work, the build will fail and prompt you to either add the missing instrumentation package or to skip the instrumentation of the corresponding package:
~packages/opentelemetry.autoinstrumentation.buildtasks/1.7.0/build/OpenTelemetry.AutoInstrumentation.BuildTasks.targets(29,5): error : OpenTelemetry.AutoInstrumentation: add a reference to the instrumentation package 'MongoDB.Driver.Core.Extensions.DiagnosticSources' version 1.4.0 or add 'MongoDB.Driver.Core' to the property 'SkippedInstrumentations' to suppress this error.
To resolve the error either add the recommended instrumentation package or skip
the instrumentation of the listed package by adding it to the SkippedInstrumentation
property. For example:
<PropertyGroup>
<SkippedInstrumentations>MongoDB.Driver.Core;StackExchange.Redis</SkippedInstrumentations>
</PropertyGroup>
The same property can be also specified directly using the terminal.
Notice that the ; separator needs to be properly escaped as '%3B':
dotnet build -p:SkippedInstrumentations=StackExchange.Redis%3BMongoDB.Driver.Core
To distribute the appropriate native runtime components with your .NET application,
specify a Runtime Identifier (RID)
to build the application using dotnet build or dotnet publish. This might
require choosing between distributing a
self-contained or a framework-dependent
application. Both types are compatible with automatic instrumentation.
Example: dotnet build --runtime linux-x64. This builds the application and instrumentation for OS: Linux and Arch: x64.
Use the script in the output folder of the build to launch the application with automatic instrumentation activated.
adot-launch.cmd <application_executable>adot-launch.sh <application_executable>
adot-launch.sh script, you will have to run sed -i -e 's/\r$//' path/to/adot-launch.shIf you launch the application using the dotnet CLI, add dotnet after the script.
adot-launch.cmd dotnet <application>adot-launch.sh dotnet <application>The script passes to the application all the command-line parameters you provide.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Framework | net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.13.0 | 263 | 6/10/2026 |
| 1.12.0 | 2,545 | 3/20/2026 |
| 1.11.1 | 214 | 2/19/2026 |
| 1.11.0 | 320 | 1/21/2026 |
| 1.10.1 | 466 | 1/2/2026 |
| 1.10.0 | 559 | 12/11/2025 |
| 1.9.2 | 1,190 | 11/12/2025 |
| 1.9.1 | 262 | 9/12/2025 |
| 1.9.0 | 1,320 | 8/6/2025 |
| 1.8.0 | 645 | 5/15/2025 |
| 1.7.0 | 700 | 4/2/2025 |
| 1.6.0 | 10,210 | 1/7/2025 |
| 1.5.0 | 2,843 | 12/9/2024 |
| 1.4.0 | 8,810 | 11/1/2024 |
| 1.3.2 | 8,227 | 9/26/2024 |
| 1.3.1 | 450 | 9/26/2024 |
| 1.3.0 | 806 | 9/3/2024 |
See release notes at https://github.com/aws-observability/aws-otel-dotnet-instrumentation/releases