14 Sep 2026 02:20 PM
Hi All,
recently I created a pipeline to route some spans to a dedicated bucket, my need is actually routing the whole trace those spans belong to and not only the single spans.
Is there a way to do it ?
Thanks
Regards
Solved! Go to Solution.
15 Sep 2026 01:23 AM
@tesp11331 trace is a logical reconstruction of all spans that share the same trace.id. When we are looking at a trace or run a DQL, Dynatrace recreates the trace by joining all spans with the same trace.id . You can use any common attribute that's across the spans to make sure all spans part of the trace are routed to the same bucket.
16 Sep 2026 09:20 AM
Hi, it is not easy to find a common attribute across the spans that's why I was asking for a different approach.
17 Sep 2026 07:35 AM
@tesp11331 the condition can be much more complex, A or B or C in the bucket assignment.
Typically, you would want to use resource attributes like dt.host_group.id or k8s cluster or maybe primary grail tags.
Featured Posts