入门指南
在不到5分钟内为您的应用程序获取遥测!
This is the OpenTelemetry Java documentation. OpenTelemetry is an observability framework – an API, SDK, and tools that are designed to aid in the generation and collection of application telemetry data such as metrics, logs, and traces. This documentation is designed to help you understand how to get started using OpenTelemetry Java.
The current status of the major functional components for OpenTelemetry Java is as follows:
Traces | Metrics | Logs |
---|---|---|
Stable | Stable | Stable |
For releases, including the latest release, see Releases.
OpenTelemetry Java包括以下仓库:
请参阅组件以查看已发布组件的完整列表。
已发布的发布版本可在maven中央仓库上找到。我们强烈建议使用我们的BOM文件来保持各组件的版本同步。
<project>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-bom</artifactId>
<version>1.31.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-api</artifactId>
</dependency>
</dependencies>
</project>
dependencies {
implementation(platform("io.opentelemetry:opentelemetry-bom:1.31.0"))
implementation("io.opentelemetry:opentelemetry-api")
}