-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
1.38.0
-
None
When runing test on CI or with native mode, this exception is thrown not allowing tests being properly executed.
WARN||io.quarkus.runtime.configuration.ConfigRecorder|Build time property cannot be changed at runtime:
- quarkus.otel.traces.sampler is set to 'always_on' but it is build time fixed to 'parentbased_always_on'. Did you change the property quarkus.otel.traces.sampler after building the application?
- quarkus.otel.metrics.exporter is set to 'otlp' but it is build time fixed to 'cdi'. Did you change the property quarkus.otel.metrics.exporter after building the application?
- quarkus.otel.traces.exporter is set to 'otlp' but it is build time fixed to 'cdi'. Did you change the property quarkus.otel.traces.exporter after building the application?
2026-01-31 13:40:27.355|INFO||io.opentelemetry.sdk.autoconfigure.AutoConfiguredOpenTelemetrySdkBuilder|Error encountered during autoconfiguration. Closing partially configured components.
2026-01-31 13:40:27.386|ERROR||io.quarkus.runtime.Application|Failed to start application: java.lang.RuntimeException: Failed to start quarkus
at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
at io.quarkus.runtime.Application.start(Application.java:101)
at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:121)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:80)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:51)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:144)
at io.quarkus.runner.GeneratedMain.main(Unknown Source)
at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:68)
at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:36)
Caused by: jakarta.enterprise.inject.CreationException: Error creating synthetic bean [Le6zQbzkojAYO_OiKIQWJf4lGa4]: io.opentelemetry.sdk.autoconfigure.spi.ConfigurationException: otel.metrics.exporter set to "otlp" but opentelemetry-exporter-otlp not found on classpath. Make sure to add it as a dependency.
As this feature (Logging exporter) is not recommended to be use in production (https://es.quarkus.io/guides/opentelemetry#logging-exporter-for-debugging) is better not to configure it in the Mock class for integration-tests.