Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Configure the OpenTelemetry-based telemetry provider - AWS SDK for .NET

Configure the OpenTelemetry-based telemetry provider

Note

This is prerelease documentation for a feature in preview release. It is subject to change.

The AWS SDK for .NET includes an implementation of an OpenTelemetry-based telemetry provider. For details about how to set this provider as the global telemetry provider, see Configure a TelemetryProvider. To use this telemetry provider, you need the following resources in your project:

  • The OpenTelemetry.Instrumentation.AWS NuGet package. This package is currently in prerelease.

  • A telemetry exporter such as OTLP or Console. For more information, see Exporters in the OpenTelemetry documentation.

The OpenTelemetry implementation included with the SDK can be configured to reduce the amount of tracing for HTTPS requests, credentials, and compression. To do so, set the SuppressDownstreamInstrumentation option to true, similar to the following:

Sdk.CreateTracerProviderBuilder() .ConfigureResource(e => e.AddService("DemoOtel")) .AddAWSInstrumentation(options => options.SuppressDownstreamInstrumentation = true) .AddConsoleExporter() .Build();

For additional information about this provider, see the blog post Enhancing Observability in the AWS SDK for .NET with OpenTelemetry.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.