micrometer-metrics/micrometer

Configure a custom JmsProcessObservationConvention or JmsPublishObservationConvention

Open

#5492 opened on Sep 27, 2024

View on GitHub
 (8 comments) (0 reactions) (0 assignees)Java (4,220 stars) (935 forks)batch import
enhancementhelp wantedinstrumentationmodule: micrometer-jakarta9

Description

Please describe the feature request. It should be possible to configure a custom JmsProcessObservationConvention. Currently a DefaultJmsProcessObservationConvention ist hardcoded in the MessageConsumerInvocationHandler.

Rationale I want to write custom information from the JMS header to the observation (trace info).

Additional context Its possible to define your own JmsProcessObservationConvention, but I found no possibilty to activate/configure it instead of the DefaultJmsProcessObservationConvention.

Contributor guide