feat(components): support telemetry include patterns#23500
Conversation
Closes CAMEL-23433
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
|
🧪 CI tested the following changed modules:
Build reactor — dependencies compiled but only changed modules were tested (6 modules)
|
|
@davsclaus @oscerd @Croway please, have a look. As soon as it is merged I need to work on the runtimes as well. Thanks! |
| |`disableCoreProcessors`| false | Disable any inner core processors (any core DSL processor provided in the route, for example `bean`, `log`, ...). | ||
| |`excludePatterns` | | Sets exclude pattern that will disable tracing for those spans that matches the pattern. The variable is a comma separated values of filters to execute (eg, `log*,direct*,setBody*`, ...) | ||
| | `excludePatterns` | | A comma-separated list of patterns (e.g., `log*,direct*,setBody*`) to exclude from tracing. Spans matching these patterns will be disabled. If nothing is specified, no processors are excluded by default. | ||
| | `includePatterns` | | A comma-separated list of patterns (e.g., `log*,direct*,setBody*`) to explicitly include in a trace. Spans matching these patterns will be enabled. If nothing is specified, all processors are included by default. |
There was a problem hiding this comment.
what happen when excludePatterns and includePatterns are used together? exclude should win, do you think it is worth documenting this behaviour? @squakez
There was a problem hiding this comment.
Pertinent question. However I think it is an implicit logic. If you include "a" and exclude "a", then you logically won't have "a". Also, I've added the "If nothing is specified, all processors are included by default" right to clarify that everything is included by default.
Closes CAMEL-23433
Description
Target
mainbranch)Tracking
Apache Camel coding standards and style
mvn clean install -DskipTestslocally from root folder and I have committed all auto-generated changes.