Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
Unknown
Description
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:
.process(e -> ActiveSpanManager.reset(e))