OpenTelemetry .NET traces

Use OpenTelemetry .NET to collect and export trace telemetry data

You are viewing the English version of this page because it has not yet been fully translated. Interested in helping out? See Contributing.

This section contains information about using OpenTelemetry .NET for tracing.

OpenTelemetry .NET provides a Tracing API and SDK to instrument, generate, collect, and export telemetry data (traces, logs, and metrics) for analysis in order to understand your software’s behavior and performance.


Getting started with traces - Console

Learn how to use OpenTelemetry Traces in a .NET Console application

Getting started with traces - ASP.NET Core

Learn how to use OpenTelemetry Traces in an ASP.NET Core application

Stratified sampling

Learn how to implement stratified sampling for OpenTelemetry traces in .NET

Tail-based sampling

Learn how to implement tail-based sampling for capturing all failed spans in OpenTelemetry .NET

Export to Jaeger

Learn how to export traces to Jaeger with OpenTelemetry .NET

Reporting exceptions

Learn how to report exceptions in OpenTelemetry .NET traces

Creating links between traces

Learn how to create links between traces with OpenTelemetry .NET


সর্বশেষ পরিবর্তিত August 12, 2025: Add dotnet docs from /docs folder of opentelemetry-dotnet (#7474) (bb927496)