You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by gm...@apache.org on 2026/03/26 13:49:23 UTC

(incubator-kie-kogito-runtimes) branch main updated: Fix OpenTelemetry tests in CI by adding a Quarkus dependency (#4232)

This is an automated email from the ASF dual-hosted git repository.

gmunozfe pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-runtimes.git


The following commit(s) were added to refs/heads/main by this push:
     new f719126563 Fix OpenTelemetry tests in CI by adding a Quarkus dependency (#4232)
f719126563 is described below

commit f719126563c0f9ac16fd234c8bd6dac0c47d83a8
Author: Gonzalo Muñoz <go...@gmail.com>
AuthorDate: Thu Mar 26 14:49:18 2026 +0100

    Fix OpenTelemetry tests in CI by adding a Quarkus dependency (#4232)
    
    * Fix OpenTelemetry tests in CI by adding a Quarkus dependency
    
    * Fix OpenTelemetry tests in CI by adding a Quarkus dependency
---
 quarkus/addons/opentelemetry/integration-tests/pom.xml             | 7 ++++++-
 .../serverless/workflow/opentelemetry/OtlpMockTestResource.java    | 1 +
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/quarkus/addons/opentelemetry/integration-tests/pom.xml b/quarkus/addons/opentelemetry/integration-tests/pom.xml
index 483999be62..2a477b999f 100644
--- a/quarkus/addons/opentelemetry/integration-tests/pom.xml
+++ b/quarkus/addons/opentelemetry/integration-tests/pom.xml
@@ -93,6 +93,11 @@
       <artifactId>opentelemetry-sdk</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>io.quarkus</groupId>
+      <artifactId>quarkus-opentelemetry</artifactId>
+      <scope>test</scope>
+    </dependency>
     <dependency>
       <groupId>org.assertj</groupId>
       <artifactId>assertj-core</artifactId>
@@ -205,4 +210,4 @@
     </plugins>
   </build>
 
-</project>
\ No newline at end of file
+</project>
diff --git a/quarkus/addons/opentelemetry/integration-tests/src/test/java/org/kie/kogito/quarkus/serverless/workflow/opentelemetry/OtlpMockTestResource.java b/quarkus/addons/opentelemetry/integration-tests/src/test/java/org/kie/kogito/quarkus/serverless/workflow/opentelemetry/OtlpMockTestResource.java
index 768cf0383e..f818d1518e 100644
--- a/quarkus/addons/opentelemetry/integration-tests/src/test/java/org/kie/kogito/quarkus/serverless/workflow/opentelemetry/OtlpMockTestResource.java
+++ b/quarkus/addons/opentelemetry/integration-tests/src/test/java/org/kie/kogito/quarkus/serverless/workflow/opentelemetry/OtlpMockTestResource.java
@@ -55,6 +55,7 @@ public class OtlpMockTestResource implements QuarkusTestResourceLifecycleManager
         config.put("quarkus.otel.exporter.otlp.protocol", "http/protobuf");
 
         config.put("otel.metrics.exporter", "none");
+	config.put("otel.traces.exporter", "none");
 
         // Immediate export for testing (use simple span processor)
         config.put("quarkus.otel.traces.sampler", "always_on");


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org