[
https://issues.apache.org/jira/browse/CAMEL-17595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17599890#comment-17599890
]
Claus Ibsen commented on CAMEL-17595:
-------------------------------------
You are welcome to send a PR
> camel tracing - reset trace in route
> ------------------------------------
>
> Key: CAMEL-17595
> URL: https://issues.apache.org/jira/browse/CAMEL-17595
> Project: Camel
> Issue Type: New Feature
> Components: camel-tracing
> Reporter: Sijmen Huizenga
> Priority: Minor
> Fix For: 3.x
>
>
> Add the ability to start a new trace during the exeuction of a route.
> For example, we use an {{aggregate}} with {{completionInterval}} to group
> messages. All messages from the aggregate share the same traceID. This
> results in a single trace spanning all messages over many weeks. We would
> like each message after the aggregate to receive a new trace to improve
> visibility. Having the ability to manually close & start the trace would be
> ideal.
> It would be amazing if it would be possible to call _.reset()_ method from
> the {_}ActiveSpanManager{_}:
> {code:java}
> .process(e -> ActiveSpanManager.reset(e)) {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)