# User Post Question - Global Service Detection Rule

**URL:** <https://community.dynatrace.com/t/user-post-question-global-service-detection-rule/50704>\
**Category:** Open Q&A\
**Tags:** services\
**Created:** [March 13, 2025, 1:22pm UTC](https://community.dynatrace.com/t/user-post-question-global-service-detection-rule/50704 "2025-03-13T13:22:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DwayneWhite](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dwaynewhite/32/30210_2.png) [@DwayneWhite](https://community.dynatrace.com/u/DwayneWhite)\
**Post date:** [March 13, 2025, 1:22pm UTC](https://community.dynatrace.com/t/user-post-question-global-service-detection-rule/50704/1 "2025-03-13T13:22:59Z")

</div>

[@D\_Miller](https://community.dynatrace.com/user/27192)&nbsp;, a while back you had a post&nbsp;[Excluding a Process Group from a Global Customer Service Detection rule - Dynatrace Community](https://community.dynatrace.com/post/236310), I was wondering if you could share your Global Service Detection Rule, I am interested in what it is and does.

Thanks

---

<div class="post-metadata">

**Author:** ![D\_Miller](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/d_miller/32/22229_2.png) [@D\_Miller](https://community.dynatrace.com/u/D_Miller)\
**Post date:** [March 24, 2025, 1:46pm UTC](https://community.dynatrace.com/t/user-post-question-global-service-detection-rule/50704/2 "2025-03-24T13:46:33Z")

</div>

Hello,

I’ve used it on occasions to provide a starting/entry point for the OneAgent. This is only required where there are no known starting points Out-The-Box for the Agent for that Technology.&nbsp; It then allows Distributed Traces to be created and in turn a Service to be created.&nbsp; It’s set by providing a the details of a Class and it’s Method so it’s going deep into the Application Code.

Doing this needs to be carefully tested so that:

1. You are getting sensible/meaningful Traces. You’re not going to be accidently creating thousands of Traces where you want a single trace.

2. It doesn’t cause a massive overhead on the application process.

When creating a Custom Service it is applied it can be set against the whole Tenant or against a set of Process Groups. Hopefully this explains it a bit.
