[ https://issues.apache.org/jira/browse/CAMEL-22349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016465#comment-18016465 ]
Pasquale Congiusti commented on CAMEL-22349: -------------------------------------------- Fixes: https://github.com/apache/camel/pull/19009 https://github.com/apache/camel-spring-boot/pull/1493 > [camel-observation] Observations should not influence metrics > ------------------------------------------------------------- > > Key: CAMEL-22349 > URL: https://issues.apache.org/jira/browse/CAMEL-22349 > Project: Camel > Issue Type: Bug > Affects Versions: 4.13.0 > Reporter: Pasquale Congiusti > Assignee: Pasquale Congiusti > Priority: Minor > Fix For: 4.x > > > While working on CAMEL-21869 I realized that the issue raised in CAMEL-21854 > has a different nature. The observation should correctly set the trace with > the logged message as it used to do. However, as we are using an Observation > object, it seems this one is directly affecting metrics, beside tracing > feature. > In order to properly fix the issue reported in CAMEL-21854, instead of not > logging the trace, we should tell the observation framework not to consider > the traces for metrics purposes. -- This message was sent by Atlassian Jira (v8.20.10#820010)