cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to capture trace metadata "Thread Name" as a request attribute

Nick-Montana
Advisor

Hi,

 

I'd like to create a request attribute capturing the thread name inside the trace metadata. I just don't know what configurations I need to set inside the settings when I create it. Are these considered span attributes?

I want a request attribute that captures our OpenKit and Micrometer instrumentations based off their unique Thread Names, see screenshot

 

NickMontana_0-1732717164365.png

 

10 REPLIES 10

Peter_Youssef
Champion

Hi @Nick-Montana 

You can give an attempt capturing the request attribute based on span attribute as a source.

Hoping it helps.

KR,

Peter

Hi @Peter_Youssef,

Thanks for the link but I already know how to implement request attributes. The solution I'm looking for is to know for certain that the trace information under metadata are span attributes

Hi @Nick-Montana 

Thanks for your response, definitely assured you're a Dynatrace expert.
It's just an official reference.

I believe to get the exact source of information we can refer to the development team or App owner.
KR,

Peter

Sorry I should have been more descriptive in my response to you as I am the app owner. I'm trying to understand if the "Thread name" key/value pair is capturable as a span attribute. Thread name is under the Client-side trace Metadata along with some others

 

NickMontana_0-1734444326869.png

 

Hello @Nick-Montana 

PFA available request attribute sources as per the suggested input from your end:

  • HTTP

Peter_Youssef_0-1734445346444.png

  • IP address

Peter_Youssef_1-1734445441878.png

  • Trace ID:

There is no available configuration from Dynatrace side as per attached screenshot

Peter_Youssef_2-1734445529953.png

BR,

Peter

 

 

 

Hi @Nick-Montana 

You have a valid source "Span Attribute"

Peter_Youssef_3-1734445669200.png

BR,

Peter

 

Hi @Nick-Montana 

For capturing thread Name or ID directly there is no available configurations as per the attached screenshot

Peter_Youssef_4-1734445863862.png

KR,

Peter

Hello @Nick-Montana 

I believe the most applicable solution that fits for the raised point is attached below if the monitored technology falls under any of the provided resources:

Peter_Youssef_5-1734446294261.png

Hoping it adds value.

BR,

Peter

Featured Posts