# How to filter the service request with a particular request name?

**URL:** <https://community.dynatrace.com/t/how-to-filter-the-service-request-with-a-particular-request-name/56366>\
**Category:** DQL\
**Tags:** dql, dynatrace-managed, service\
**Created:** [July 6, 2026, 8:14am UTC](https://community.dynatrace.com/t/how-to-filter-the-service-request-with-a-particular-request-name/56366 "2026-07-06T08:14:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hillman](https://avatars.discourse-cdn.com/v4/letter/h/439d5e/32.png) [@Hillman](https://community.dynatrace.com/u/Hillman)\
**Post date:** [July 6, 2026, 8:14am UTC](https://community.dynatrace.com/t/how-to-filter-the-service-request-with-a-particular-request-name/56366/1 "2026-07-06T08:14:37Z")

</div>

We have a process group which include a bunch of process. The processes are started but only 1 of them is the active process and would initiate a particular web request. The other processes are standby and will not trigger that web request.

I try to count the number of that request to detect if there are less than 1 or more than 1 request being triggered. If yes, alerts will be triggered.

In the past I can use Calculated Service Metrics to achieve this:

 ![Hillman_0-1783325563656.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/3/832553cc52e70e484270913dde08b9ff331ca722.png)

However, in the DQL, I cannot find any dimension like “Request Name”. Is there any way I can achieve that?

---

<div class="post-metadata">

**Author:** ![t\_pawlak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/t_pawlak/32/14991_2.png) [@t\_pawlak](https://community.dynatrace.com/u/t_pawlak)\
**Post date:** [July 6, 2026, 9:21am UTC](https://community.dynatrace.com/t/how-to-filter-the-service-request-with-a-particular-request-name/56366/2 "2026-07-06T09:21:25Z")

</div>

Hi,  
in DQL the equivalent of Request Name is usually endpoint.name for the new dt.service.request.\* metrics.

try this:

```markup
timeseries requests = sum(dt.service.request.count),
by: { dt.entity.service, endpoint.name }
| filter dt.entity.service == "SERVICE-9C186B48B0905E85"
| filter endpoint.name == "oteldemo.CurrencyService.Convert"

```

 ![t_pawlak_0-1783329386833.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/502f27bedb83cfbf4e36b8729a835ee1cefb0fdf.png)

---

<div class="post-metadata">

**Author:** ![Hillman](https://avatars.discourse-cdn.com/v4/letter/h/439d5e/32.png) [@Hillman](https://community.dynatrace.com/u/Hillman)\
**Post date:** [July 6, 2026, 9:44am UTC](https://community.dynatrace.com/t/how-to-filter-the-service-request-with-a-particular-request-name/56366/3 "2026-07-06T09:44:12Z")

</div>

[@t\_pawlak](https://community.dynatrace.com/user/42367)&nbsp;hmm…it is weird that when I try to query for the endpoint.name, all it returns are “NON\_KEY\_REQUESTS” instead of the “Request Name”

 ![Hillman_0-1783331024445.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/d/2d7003f0ce35dd7bbed9ec58539416a649952185.png)

---

<div class="post-metadata">

**Author:** ![t\_pawlak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/t_pawlak/32/14991_2.png) [@t\_pawlak](https://community.dynatrace.com/u/t_pawlak)\
**Post date:** [July 6, 2026, 9:52am UTC](https://community.dynatrace.com/t/how-to-filter-the-service-request-with-a-particular-request-name/56366/4 "2026-07-06T09:52:50Z")

</div>

Show me your DQL, please

---

<div class="post-metadata">

**Author:** ![Hillman](https://avatars.discourse-cdn.com/v4/letter/h/439d5e/32.png) [@Hillman](https://community.dynatrace.com/u/Hillman)\
**Post date:** [July 6, 2026, 9:56am UTC](https://community.dynatrace.com/t/how-to-filter-the-service-request-with-a-particular-request-name/56366/5 "2026-07-06T09:56:17Z")

</div>

The DQL is as follow:

```markup
timeseries { sum(dt.service.request.count), value.A = avg(dt.service.request.count, scalar: true) }, by: { dt.entity.process_group, endpoint.name }
| filter: { matchesValue(entityAttr(dt.entity.process_group, "entity.name"), "*<process_group_name>") }
| fieldsAdd dt.entity.process_group.name = entityName(dt.entity.process_group)

```

where \<process\_group\_name\> is the name of our process group

---

<div class="post-metadata">

**Author:** ![Naveenkumar\_D](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/naveenkumar_d/32/16228_2.png) [@Naveenkumar\_D](https://community.dynatrace.com/u/Naveenkumar_D)\
**Post date:** [July 6, 2026, 10:00am UTC](https://community.dynatrace.com/t/how-to-filter-the-service-request-with-a-particular-request-name/56366/6 "2026-07-06T10:00:47Z")

</div>

[@Hillman](https://community.dynatrace.com/user/63818)&nbsp;The reason is&nbsp;previously, only manually configured key requests got individual metrics, while everything else was aggregated into a single&nbsp;NON\_KEY\_REQUEST&nbsp;bucket.

**Enhanced endpoints** &nbsp;eliminates that limitation.  
Check out this&nbsp;[doc,](https://docs.dynatrace.com/docs/observe/application-observability/services/service-detection/service-detection-v1/enhanced-endpoints-sdv1?utm_source=copilot.com#enable-enhanced-endpoints:~:text=Automatic%20metrics%20for%20every%20endpoint%3A%20Previously%2C%20only%20manually%20configured%20key%20requests%20got%20individual%20metrics%2C%20while%20everything%20else%20was%20aggregated%20into%20a%20single%20NON_KEY_REQUEST%20bucket.%20Enhanced%20endpoints%20eliminates%20that%20limitation.)&nbsp;You can also see&nbsp;[@t\_pawlak](https://community.dynatrace.com/user/42367)&nbsp;another post reply&nbsp;[here](https://community.dynatrace.com/post/301488#M3408:~:text=That%20usually%20means%20those%20requests%20are%20not%20promoted/classified%20as%20individual%20key%20requests/endpoints%20in%20the%20metric%20dimension%2C%20so%20Dynatrace%20groups%20them%20under%20NON_KEY_REQUESTS.)

---

<div class="post-metadata">

**Author:** ![t\_pawlak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/t_pawlak/32/14991_2.png) [@t\_pawlak](https://community.dynatrace.com/u/t_pawlak)\
**Post date:** [July 6, 2026, 10:09am UTC](https://community.dynatrace.com/t/how-to-filter-the-service-request-with-a-particular-request-name/56366/7 "2026-07-06T10:09:29Z")

</div>

Hi,  
[@Naveenkumar\_D](https://community.dynatrace.com/user/87870)already explained why this happens.  
But if&nbsp;endpoint.name is being aggregated as NON\_KEY\_REQUESTS in dt.service.request.count, you could try querying the spans instead of the metric. Spans expose the individual requests/endpoints rather than the aggregated metric.

try this:

```markup
fetch spans
| filter matchesValue(entityName(dt.entity.process_group), "*nginx*")
| filter contains(endpoint.name, "easytravel")
| summarize requests = count(), by: { endpoint.name, dt.entity.process_group }
| fieldsAdd process_group_name = entityName(dt.entity.process_group)

```

If this doesn’t return any results, I’d first verify which fields are available in your spans (for example endpoint.name vs span.name), as the available attributes can vary depending on the technology and instrumentation.

In my case, this query returns the expected results:

 ![t_pawlak_0-1783332520202.png](https://global.discourse-cdn.com/dynatrace/original/2X/e/eea054e8c6af59ecb553745e62352e33575f396b.png)

---

<div class="post-metadata">

**Author:** ![Hillman](https://avatars.discourse-cdn.com/v4/letter/h/439d5e/32.png) [@Hillman](https://community.dynatrace.com/u/Hillman)\
**Post date:** [July 7, 2026, 1:56am UTC](https://community.dynatrace.com/t/how-to-filter-the-service-request-with-a-particular-request-name/56366/8 "2026-07-07T01:56:13Z")

</div>

Sadly, I have tried to check for the endpoint.name or span.name and they do not return any useful results (either \* or null)

 ![Hillman_0-1783389366304.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/6/9631e57aa25477bd02da0e74bacc2ac859f55ede.png)
