You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Sijmen Huizenga (Jira)" <ji...@apache.org> on 2022/02/03 13:27:00 UTC

[jira] [Created] (CAMEL-17595) camel tracing - reset trace in route

Sijmen Huizenga created CAMEL-17595:
---------------------------------------

             Summary: 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


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.1#820001)