Skip to content

Commit

Permalink
feat: opentelemetry support + annotations (#815)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsladek authored Dec 7, 2024
1 parent 042f01c commit 90e0b14
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ Fasses ut:
* DB Change Management - [Flyway DB](https://flywaydb.org/)
* Connection Pool Management - [HikariCP](https://github.com/brettwooldridge/HikariCP)
* Monitoring - [Prometheus](https://prometheus.io/) + [Micrometer](https://micrometer.io/)
* OpenTelemetry - [OpenTelemetry](https://github.com/open-telemetry/opentelemetry-java-instrumentation)
23 changes: 23 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
<!-- Build versions -->
<jaxb2-maven-plugin.version>3.2.0</jaxb2-maven-plugin.version>
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<otel-instr-bom.version>2.10.0</otel-instr-bom.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -140,6 +141,22 @@
<type>pom</type>
</dependency>

<!-- OpenTelemetry -->
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-bom</artifactId>
<version>1.44.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>io.opentelemetry.instrumentation</groupId>
<artifactId>opentelemetry-instrumentation-bom</artifactId>
<version>${otel-instr-bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<!-- Kafka -->
<dependency>
<groupId>org.apache.kafka</groupId>
Expand Down Expand Up @@ -373,6 +390,12 @@
</dependencyManagement>

<dependencies>
<!-- trace -->
<dependency>
<groupId>io.opentelemetry.instrumentation</groupId>
<artifactId>opentelemetry-instrumentation-annotations</artifactId>
<version>${otel-instr-bom.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
Expand Down

0 comments on commit 90e0b14

Please sign in to comment.