You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer::invokeListener(Channel, Object) is instrumented, which covers the message handling itself, but not the handling of exceptions raised by the message handler.
Steps to reproduce
Throw exception in @RabbitListener method and check the produced Execution of Rabbit message listener failed. log message.
Expected behavior
The log message Execution of Rabbit message listener failed. contains trace and span IDs.
Actual behavior
The log message does not contain trace nor span IDs.
Javaagent or library instrumentation version
v1.32.1
Environment
JDK: Temurin 17 OS: Debian 11 (bullseye)
Additional context
Used JAva instrumentation v1.32.1 from OpenTelemetry Kubernetes Operator v0.102.0.
I checked the code and it would be sufficient to instrument the org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer::executeListener(Channel, Object) instead of invokeListener to cover also the exception handling for the message.
The text was updated successfully, but these errors were encountered:
Describe the bug
Currently the
org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer::invokeListener(Channel, Object)
is instrumented, which covers the message handling itself, but not the handling of exceptions raised by the message handler.Steps to reproduce
Throw exception in @RabbitListener method and check the produced
Execution of Rabbit message listener failed.
log message.Expected behavior
The log message
Execution of Rabbit message listener failed.
contains trace and span IDs.Actual behavior
The log message does not contain trace nor span IDs.
Javaagent or library instrumentation version
v1.32.1
Environment
JDK: Temurin 17
OS: Debian 11 (bullseye)
Additional context
Used JAva instrumentation v1.32.1 from OpenTelemetry Kubernetes Operator v0.102.0.
I checked the code and it would be sufficient to instrument the
org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer::executeListener(Channel, Object)
instead ofinvokeListener
to cover also the exception handling for the message.The text was updated successfully, but these errors were encountered: