# Exclude specific thread processing from Dynatrace management / tagging

**URL:** <https://community.dynatrace.com/t/exclude-specific-thread-processing-from-dynatrace-management-tagging/42432>\
**Category:** Open Q&A\
**Tags:** distributed-traces-classic, dynatrace-managed, tagging, oneagent\
**Created:** [November 2, 2023, 2:10pm UTC](https://community.dynatrace.com/t/exclude-specific-thread-processing-from-dynatrace-management-tagging/42432 "2023-11-02T14:10:33Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 28, 2023, 8:20pm UTC](https://community.dynatrace.com/t/exclude-specific-thread-processing-from-dynatrace-management-tagging/42432/6 "2023-11-28T20:20:49Z")

</div>

[@vd](https://community.dynatrace.com/user/68444)&nbsp; I believe it’s the Java Threading OneAgent feature - which can be modified for a process group, but by disabling you may break some existing traces for you.

The (ideal) solution for that would be likely the [span linking](https://opentelemetry.io/docs/instrumentation/java/manual/#create-spans-with-links) OpenTelemetry feature. Since in your case you are trying to merge two traces. The second one starts with spinning up the thread, but you want to start it when the thread picks up the record from a database. You cannot tell OneAgent not to start a trace from your code.

---

_[View the full topic](https://community.dynatrace.com/t/exclude-specific-thread-processing-from-dynatrace-management-tagging/42432)._
