<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Thread ID request attribute definition in Dynatrace Managed Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Thread-ID-request-attribute-definition/m-p/251540#M3401</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;Can I define request attribute for thread message and thread ID?&lt;BR /&gt;If I can, which source should I choose?&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2024 07:28:53 GMT</pubDate>
    <dc:creator>Osiris5654</dc:creator>
    <dc:date>2024-07-25T07:28:53Z</dc:date>
    <item>
      <title>Thread ID request attribute definition</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Thread-ID-request-attribute-definition/m-p/251540#M3401</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Can I define request attribute for thread message and thread ID?&lt;BR /&gt;If I can, which source should I choose?&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 07:28:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Thread-ID-request-attribute-definition/m-p/251540#M3401</guid>
      <dc:creator>Osiris5654</dc:creator>
      <dc:date>2024-07-25T07:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Thread ID request attribute definition</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Thread-ID-request-attribute-definition/m-p/276644#M4253</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58694"&gt;@Osiris5654&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;While I didn't find a proper solution to your question, I would suggest checking out this thread:&lt;BR /&gt;&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Open-Q-A/Threadname-capture-from-the-metadata-of-the-request/td-p/198553" target="_self"&gt;Threadname capture from the metadata of the request&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and especially Alex's reply, as it could guide you to the answer:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You need to ask Developers or do your own analysis (reverse engineering with Custom Service wizard) -&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Is there method argument or return value - to add request attribute on it.&lt;/STRONG&gt;&amp;nbsp; I belive that there are many points where we can get thread-name&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I see that it is Custom Service.&lt;/P&gt;
&lt;P&gt;You can use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/Dynatrace/OneAgent-SDK-for-Java#add-custom-request-attributes" target="_self" rel="nofollow noopener noreferrer"&gt;OneAgent SDK&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and got not only thread name.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class=""&gt;oneAgentSDK&lt;/SPAN&gt;.&lt;SPAN class=""&gt;addCustomRequestAttribute&lt;/SPAN&gt;(&lt;SPAN class=""&gt;"mde_CODEC_thread"&lt;/SPAN&gt;, value);&lt;/PRE&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Romanenkov Alex&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 11:07:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Thread-ID-request-attribute-definition/m-p/276644#M4253</guid>
      <dc:creator>MaciejNeumann</dc:creator>
      <dc:date>2025-05-07T11:07:04Z</dc:date>
    </item>
  </channel>
</rss>

