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

Threadname capture from the metadata of the request

henridb
Guide

Hello Community,

 

is there a way to use the threadname of a request in any way?

 

Regards,

Henri

4 REPLIES 4

ChadTurner
DynaMight Legend
DynaMight Legend

im not sure if we can grab the threadname, could you share an image with what you are looking to target as a request attribute? 

-Chad

Hello Chad,

henridb_0-1673535193164.png

The last one is interesting for us 😉

Hi Chad, 

I have the same query too. I would like to capture the Thread Name for filtering purpose. Attached is the screenshot from the detail trace. Is there a way to do it? 

Thanks.

You need to ask Developers or do your own analysis (reverse engineering with Custom Service wizard) - Is there method argument or return value - to add request attribute on it.  I belive that there are many points where we can get thread-name 😉

I see that it is Custom Service.

You can use OneAgent SDK and got not only thread name.  

oneAgentSDK.addCustomRequestAttribute("mde_CODEC_thread", value);

Regards,

Romanenkov Alex

DT_NGINX_FORCE_UNKNOWN_VERSION_INSTRUMENTATION=1

Featured Posts