Closed
Description
Describe the bug
In Quarkus, if you use OpenTelemetry with the default gRPC sender, if your trace request fails, you get a message such as:
2025-06-24 13:43:13,806 WARNING [io.qua.ope.run.exp.otl.sen.VertxGrpcSender] (vert.x-eventloop-thread-4) Failed to export TraceRequestMarshalers. The request could not be executed. Full error message: Connection refused: localhost/127.0.0.1:4317
However, if you switch to http/protobuf through
quarkus.otel.exporter.otlp.protocol=http/protobuf
Requests fail silently without sending any warning
Expected behavior
A warning should be given for the http/protobuf protocol if it fails to send a TraceRequest
Actual behavior
No log message is sent to indicate that something went wrong.
How to Reproduce?
- Create a Quarkus application with the OpenTelemetry extension
- Send a request to a non-existing endpoint and observe the warning log
- Set
quarkus.otel.exporter.otlp.protocol=http/protobuf
- Send a request to a non-existing endpoint and observe no log message at all.
Output of uname -a
or ver
Ubuntu 25.04
Output of java -version
OpenJDK 21.0.7
Quarkus version or git rev
3.23.4
Build tool (ie. output of mvnw --version
or gradlew --version
)
Gradle 8.14.2
Additional information
No response