micrometer-metrics/micrometer

Configure a custom JmsProcessObservationConvention or JmsPublishObservationConvention

Open

#5492 aperta il 27 set 2024

Vedi su GitHub
 (8 commenti) (0 reazioni) (0 assegnatari)Java (935 fork)batch import
enhancementhelp wantedinstrumentationmodule: micrometer-jakarta9

Metriche repository

Star
 (4220 star)
Metriche merge PR
 (Merge medio 1g 21h) (100 PR mergiate in 30 g)

Descrizione

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.

Guida contributor