Getting Started
Get telemetry from a client-server app in less than 5 minutes!
OpenTelemetry Java consists of the following repositories:
Traces | Metrics | Logs |
---|---|---|
Stable | Alpha | Experimental |
Published releases are available on maven central. We strongly recommend using our BOM to keep the versions of the various components in sync.
<project>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-bom</artifactId>
<version>1.14.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.14.0"))
implementation("io.opentelemetry:opentelemetry-api")
}
Get telemetry from a client-server app in less than 5 minutes!
Java instrumentation examples
Extensions add capabilities to the agent without having to create a separate distribution.