@@ -9,23 +9,21 @@ weight: 10
9
9
This page will show you how to get started with OpenTelemetry in Java.
10
10
11
11
You will learn how you can instrument a simple Java application automatically,
12
- in such a way that [ traces] [ ] , [ metrics] [ ] and [ logs] [ ] are emitted to the
12
+ in such a way that [ traces] [ ] , [ metrics] [ ] , and [ logs] [ ] are emitted to the
13
13
console.
14
14
15
15
## Prerequisites
16
16
17
17
Ensure that you have the following installed locally:
18
18
19
- - Java 17 JDK
19
+ - Java JDK 17+, due to the use of Spring Boot 3; [ Java 8+ otherwise ] [ java-vers ]
20
20
- [ Gradle] ( https://gradle.org/ )
21
21
22
22
## Example Application
23
23
24
- The following example uses a basic
25
- [ Spring Boot] ( https://spring.io/guides/gs/spring-boot/ ) application. If you are
26
- not using Spring Boot, that's OK — you can use OpenTelemetry Java with other web
27
- frameworks as well, such as Apache Wicket and Play. For a complete list of
28
- libraries for supported frameworks, see the
24
+ The following example uses a basic [ Spring Boot] application. You can use
25
+ another web framework, such as Apache Wicket or Play. For a complete list of
26
+ libraries and supported frameworks, consult the
29
27
[ registry] ( /ecosystem/registry/?component=instrumentation&language=java ) .
30
28
31
29
For more elaborate examples, see [ examples] ( /docs/languages/java/examples/ ) .
@@ -251,8 +249,11 @@ For more:
251
249
https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md#logging-exporter
252
250
[ exporter] :
253
251
https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md#exporters
252
+ [ java-vers] :
253
+ https://github.com/open-telemetry/opentelemetry-java/blob/main/VERSIONING.md#language-version-compatibility
254
254
[ manual instrumentation ] : ../instrumentation
255
255
[ opentelemetry-javaagent.jar] :
256
256
https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/latest/download/opentelemetry-javaagent.jar
257
257
[ releases] :
258
258
https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases
259
+ [ Spring Boot ] : https://spring.io/guides/gs/spring-boot/
0 commit comments