Open Q&A
If there's no good subforum for your question - ask it here!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Routing of whole traces to a dedicated bucket and not only spans

tesp11331
Participant

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

3 REPLIES 3

p_devulapalli
DynaMight Leader
DynaMight Leader

@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.

 

 

Phani Devulapalli

tesp11331
Participant

Hi,  it is not easy to find a common attribute across the spans that's why I was asking for a different approach.

@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.

Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts