Skip to content

Commit

Permalink
Streamline OTel dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobat committed Nov 27, 2024
1 parent d99e142 commit 5718993
Showing 1 changed file with 14 additions and 22 deletions.
36 changes: 14 additions & 22 deletions bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
<resteasy-microprofile.version>3.0.0.Final</resteasy-microprofile.version>
<resteasy-spring-web.version>3.1.3.Final</resteasy-spring-web.version>
<resteasy.version>6.2.11.Final</resteasy.version>
<opentelemetry.version>1.42.1</opentelemetry.version>
<opentelemetry-alpha.version>2.8.0-alpha</opentelemetry-alpha.version>
<opentelemetry-instrumentation.version>2.8.0-alpha</opentelemetry-instrumentation.version>
<opentelemetry-semconv.version>1.27.0-alpha</opentelemetry-semconv.version>
<quarkus-http.version>5.3.3</quarkus-http.version>
<micrometer.version>1.14.1</micrometer.version><!-- keep in sync with hdrhistogram -->
Expand Down Expand Up @@ -433,26 +432,24 @@
<version>${opensearch-testcontainers.version}</version>
</dependency>
<!-- OpenTelemetry components, imported as a BOM -->
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-bom</artifactId>
<version>${opentelemetry.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-bom-alpha</artifactId>
<version>${opentelemetry.version}-alpha</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- opentelemetry-instrumentation-bom-alpha includes the main and alpha-bom inside.-->
<!-- Also includes semantic conventions-->
<dependency>
<groupId>io.opentelemetry.instrumentation</groupId>
<artifactId>opentelemetry-instrumentation-bom-alpha</artifactId>
<version>${opentelemetry-alpha.version}</version>
<version>${opentelemetry-instrumentation.version}</version>
<type>pom</type>
<scope>import</scope>
<exclusions>
<exclusion>
<groupId>io.opentelemetry.javaagent</groupId>
<artifactId>*</artifactId> <!-- Exclude all artifacts in this group -->
</exclusion>
<exclusion>
<groupId>io.opentelemetry.javaagent.instrumentation</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- Oracle JDBC driver -->
Expand Down Expand Up @@ -6489,11 +6486,6 @@
<version>${mime4j.version}</version>
</dependency>
<!-- OpenTelemetry libs not in BOM -->
<dependency>
<groupId>io.opentelemetry.semconv</groupId>
<artifactId>opentelemetry-semconv</artifactId>
<version>${opentelemetry-semconv.version}</version>
</dependency>
<dependency>
<groupId>io.opentelemetry.semconv</groupId>
<artifactId>opentelemetry-semconv-incubating</artifactId>
Expand Down

0 comments on commit 5718993

Please sign in to comment.