You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Pasquale Congiusti (Jira)" <ji...@apache.org> on 2025/10/16 08:09:00 UTC

[jira] [Updated] (CAMEL-22560) camel-telemetry - excludePatterns incorrectly prevents execution of excluded steps

     [ https://issues.apache.org/jira/browse/CAMEL-22560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pasquale Congiusti updated CAMEL-22560:
---------------------------------------
    Issue Type: Bug  (was: Improvement)

> camel-telemetry - excludePatterns incorrectly prevents execution of excluded steps
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-22560
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22560
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Federico Mariani
>            Priority: Major
>
> When using {{excludePatterns}} in OpenTelemetry2 configuration, matched steps are not executed at all instead of being skipped only from instrumentation. This prevents critical route logic from running.
> When using excludePatterns, for example 
> _camel.opentelemetry2.excludePatterns=setVariable*_ a route like
> {code:java}
> from("direct:start")
> .setVariable("myVar", constant("testValue"))
> .to("direct:second");{code}
>  
> does not set the variable (the execution is excluded).
> The {{setVariable()}} step should execute normally and set the variable as intended. The step should only be excluded from OpenTelemetry span instrumentation, not from execution.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)