micrometer-metrics/micrometer

Configure a custom JmsProcessObservationConvention or JmsPublishObservationConvention

Offen

#5.492 geöffnet am 27.09.2024

 (8 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (1.135 Forks)batch import
enhancementhelp wantedinstrumentationmodule: micrometer-jakarta9

Repository-Metriken

Stars
 (4.881 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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