# .NET

> <img width="35" class="img-initial otel-icon" src="/img/logos/32x32/dotnet.svg" alt=".NET"> A language-specific implementation of OpenTelemetry in .NET.

---

LLMS index: [llms.txt](/llms.txt)

---


这是 OpenTelemetry .NET 的文档。 OpenTelemetry 是一个可观测性框架，这个框架提供了
API、SDK 以及一系列工具，用于辅助生成以及收集应用的遥测数据，比如链路、指标、日志。
通过本文档，你将了解如何开始使用 OpenTelemetry .NET。

## 状态以及版本发布 {#status-and-releases}

OpenTelemetry .NET 的当前主要功能组件状态如下：

| 链路                | 指标                 | 日志              |
| ------------------- | -------------------- | ----------------- |
| [Stable](/docs/specs/otel/versioning-and-stability/#stable) | [Stable](/docs/specs/otel/versioning-and-stability/#stable) | [Stable](/docs/specs/otel/versioning-and-stability/#stable) |

我们可以在 [Releases][] 中找到所有已发布的版本，包括[最新发布的版本][latest release]。 

[latest release]: <https://github.com/open-telemetry/opentelemetry-dotnet/releases/latest>
[Releases]: <https://github.com/open-telemetry/opentelemetry-dotnet/releases>
{{__hugo_ctx/}}


## Version support

OpenTelemetry for .NET supports all officially supported versions of
[.NET](https://dotnet.microsoft.com/download/dotnet) and
[.NET Framework](https://dotnet.microsoft.com/download/dotnet-framework) except
for .NET Framework 3.5 SP1.

## Signals

OpenTelemetry .NET supports the following signals:

- [Traces](/docs/languages/dotnet/traces): Learn how to collect distributed
  traces in your .NET applications.
- [Metrics](/docs/languages/dotnet/metrics): Learn how to collect metrics in
  your .NET applications.
- [Logs](/docs/languages/dotnet/logs): Learn how to collect logs in your .NET
  applications.

## Repositories

OpenTelemetry .NET consists of the following repositories:

- [OpenTelemetry .NET](https://github.com/open-telemetry/opentelemetry-dotnet)
- [OpenTelemetry .NET Contrib](https://github.com/open-telemetry/opentelemetry-dotnet-contrib)
- [OpenTelemetry .NET Automatic Instrumentation](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation)

---

Section pages:

- [Getting Started](/zh/docs/languages/dotnet/getting-started/): Get telemetry for your app in less than 5 minutes!
- [OpenTelemetry .NET traces](/zh/docs/languages/dotnet/traces/): Use OpenTelemetry .NET to collect and export trace telemetry data
- [OpenTelemetry .NET metrics](/zh/docs/languages/dotnet/metrics/): Use OpenTelemetry .NET to collect and export metric telemetry data
- [OpenTelemetry .NET logs](/zh/docs/languages/dotnet/logs/): Use OpenTelemetry .NET to collect and export log telemetry data
- [Instrumentation](/zh/docs/languages/dotnet/instrumentation/): Instrumentation for OpenTelemetry .NET
- [Using instrumentation libraries](/zh/docs/languages/dotnet/libraries/)
- [Resources in OpenTelemetry .NET](/zh/docs/languages/dotnet/resources/): Learn about resources and how to use them in OpenTelemetry .NET
- [Exporters](/zh/docs/languages/dotnet/exporters/)
- [.NET Framework instrumentation configuration](/zh/docs/languages/dotnet/netframework/)
- [Troubleshooting](/zh/docs/languages/dotnet/troubleshooting/): Learn how to troubleshoot OpenTelemetry .NET
- [OpenTelemetry Tracing Shim](/zh/docs/languages/dotnet/shim/)
- [Tracing API reference](/zh/docs/languages/dotnet/traces-api/)
- [Metrics API reference](/zh/docs/languages/dotnet/metrics-api/)
- [Examples](/zh/docs/languages/dotnet/examples/)
- [Registry](/zh/docs/languages/dotnet/registry/): Instrumentation libraries, exporters and other useful components for OpenTelemetry .NET
