OpenTelemetry.Extensions.AWS 1.12.1

Prefix Reserved
dotnet add package OpenTelemetry.Extensions.AWS --version 1.12.1
                    
NuGet\Install-Package OpenTelemetry.Extensions.AWS -Version 1.12.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="OpenTelemetry.Extensions.AWS" Version="1.12.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OpenTelemetry.Extensions.AWS" Version="1.12.1" />
                    
Directory.Packages.props
<PackageReference Include="OpenTelemetry.Extensions.AWS" />
                    
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 OpenTelemetry.Extensions.AWS --version 1.12.1
                    
#r "nuget: OpenTelemetry.Extensions.AWS, 1.12.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 OpenTelemetry.Extensions.AWS@1.12.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=OpenTelemetry.Extensions.AWS&version=1.12.1
                    
Install as a Cake Addin
#tool nuget:?package=OpenTelemetry.Extensions.AWS&version=1.12.1
                    
Install as a Cake Tool

Tracing with AWS Distro for OpenTelemetry .Net SDK

Status
Stability Stable
Code Owners @srprash, @normj

NuGet version badge NuGet download count badge codecov.io

If you want to send the traces to AWS X-Ray, you can do so by using AWS Distro with the OpenTelemetry SDK.

Getting Started

The OpenTelemetry SDK generates traces with W3C random ID which X-Ray backend doesn't currently support. You need to install the OpenTelemetry.Extensions.AWS to be able to use the AWS X-Ray id generator which generates X-Ray compatible trace IDs. If you plan to call another application instrumented with AWS X-Ray SDK, you'll need to configure the AWS X-Ray propagator as well.

dotnet add package OpenTelemetry.Extensions.AWS

Usage

AWS X-Ray Id Generator and Propagator

Configure AWS X-Ray ID generator and propagator globally in your application as follows. Make sure to call AddXRayTraceId() in the very beginning when creating TracerProvider.

using OpenTelemetry;
using OpenTelemetry.Extensions.AWS.Trace;
using OpenTelemetry.Trace;

var tracerProvider = Sdk.CreateTracerProviderBuilder()
                        .AddXRayTraceId()
                        // other instrumentations
                        ...
                        .Build();

Sdk.SetDefaultTextMapPropagator(new AWSXRayPropagator());

References

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  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 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on OpenTelemetry.Extensions.AWS:

Package Downloads
OpenTelemetry.Instrumentation.AWS

AWS client instrumentation for OpenTelemetry .NET.

OpenTelemetry.Instrumentation.AWSLambda

AWS Lambda tracing wrapper for OpenTelemetry .NET.

AWS.Distro.OpenTelemetry.AutoInstrumentation

Package Description

AppDynamics.OpenTelemetry.Instrumentation.AWSLambda

AppDynamics Lambda tracing wrapper for OpenTelemetry .NET

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.12.1 43,058 9/3/2025
1.12.0 545,687 5/6/2025
1.11.3 134,966 5/1/2025
1.11.2 342,100 3/18/2025
1.11.1 182,360 3/6/2025
1.11.0 244,023 1/29/2025
1.10.0-rc.2 12,186 1/15/2025
1.10.0-rc.1 12,293 1/6/2025
1.10.0-beta.3 18,039 12/20/2024
1.10.0-beta.2 15,128 12/12/2024
1.10.0-beta.1 336,396 11/23/2024
1.3.0-beta.2 70,886 9/24/2024
1.3.0-beta.1 2,522,912 8/2/2023