Skip to content

Commit

Permalink
Add OpenTelemetry starter
Browse files Browse the repository at this point in the history
  • Loading branch information
fcrespel committed Dec 1, 2024
1 parent 75a644b commit 8610e5b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<!-- Dependency properties -->
<commons-csv.version>1.12.0</commons-csv.version>
<guava.version>33.3.1-jre</guava.version>
<opentelemetry-instrumentation.version>2.10.0</opentelemetry-instrumentation.version>
<node.version>v20.18.0</node.version>
<npm.version>10.9.0</npm.version>
<socketio-client.version>1.0.1</socketio-client.version>
Expand Down Expand Up @@ -148,6 +149,12 @@
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
</dependency>

<!-- OpenTelemetry -->
<dependency>
<groupId>io.opentelemetry.instrumentation</groupId>
<artifactId>opentelemetry-spring-boot-starter</artifactId>
</dependency>

<!-- Utilities -->
<dependency>
<groupId>org.apache.commons</groupId>
Expand Down Expand Up @@ -214,6 +221,13 @@

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.opentelemetry.instrumentation</groupId>
<artifactId>opentelemetry-instrumentation-bom</artifactId>
<version>${opentelemetry-instrumentation.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ management:
health:
probes:
enabled: true
otel:
sdk:
disabled: true
karaplan:
karafun:
remote:
Expand Down

0 comments on commit 8610e5b

Please sign in to comment.