<?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 Re: How to filter the service request with a particular request name? in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301618#M3425</link>
    <description>&lt;P&gt;Sadly, I have tried to check for the endpoint.name or span.name and they do not return any useful results (either * or null)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hillman_0-1783389366304.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33617i04FBD8C4980EEF2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hillman_0-1783389366304.png" alt="Hillman_0-1783389366304.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2026 01:56:13 GMT</pubDate>
    <dc:creator>Hillman</dc:creator>
    <dc:date>2026-07-07T01:56:13Z</dc:date>
    <item>
      <title>How to filter the service request with a particular request name?</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301579#M3417</link>
      <description>&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;In the past I can use Calculated Service Metrics to achieve this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hillman_0-1783325563656.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33609i519F64148DAF7D41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hillman_0-1783325563656.png" alt="Hillman_0-1783325563656.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, in the DQL, I cannot find any dimension like "Request Name". Is there any way I can achieve that?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2026 08:14:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301579#M3417</guid>
      <dc:creator>Hillman</dc:creator>
      <dc:date>2026-07-06T08:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter the service request with a particular request name?</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301582#M3418</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;in DQL the equivalent of Request Name is usually endpoint.name for the new dt.service.request.* metrics.&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;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"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t_pawlak_0-1783329386833.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33610i13E97004031A68CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="t_pawlak_0-1783329386833.png" alt="t_pawlak_0-1783329386833.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2026 09:21:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301582#M3418</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2026-07-06T09:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter the service request with a particular request name?</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301584#M3419</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/42367"&gt;@t_pawlak&lt;/a&gt;&amp;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"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hillman_0-1783331024445.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33611i3735C2C071B31E26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hillman_0-1783331024445.png" alt="Hillman_0-1783331024445.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2026 09:44:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301584#M3419</guid>
      <dc:creator>Hillman</dc:creator>
      <dc:date>2026-07-06T09:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter the service request with a particular request name?</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301585#M3420</link>
      <description>&lt;P&gt;Show me your DQL, please&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2026 09:52:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301585#M3420</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2026-07-06T09:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter the service request with a particular request name?</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301586#M3421</link>
      <description>&lt;P&gt;The DQL is as follow:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;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"), "*&amp;lt;process_group_name&amp;gt;") }
| fieldsAdd dt.entity.process_group.name = entityName(dt.entity.process_group)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;where &amp;lt;process_group_name&amp;gt; is the name of our process group&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2026 09:56:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301586#M3421</guid>
      <dc:creator>Hillman</dc:creator>
      <dc:date>2026-07-06T09:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter the service request with a particular request name?</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301588#M3423</link>
      <description>&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/63818" target="_blank"&gt;@Hillman&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;The reason is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;previously, only manually configured key requests got individual metrics, while everything else was aggregated into a single&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;NON_KEY_REQUEST&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;bucket.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Enhanced endpoints&lt;/STRONG&gt;&amp;nbsp;eliminates that limitation.&lt;BR /&gt;Check out this&amp;nbsp;&lt;A href="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." rel="noopener noreferrer" target="_blank"&gt;doc,&lt;/A&gt;&amp;nbsp;You can also see&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/42367" target="_blank"&gt;@t_pawlak&lt;/A&gt;&amp;nbsp;another post reply&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/DQL/Fetch-enhanced-endpoints/m-p/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." target="_blank"&gt;here&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2026 10:00:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301588#M3423</guid>
      <dc:creator>Naveenkumar_D</dc:creator>
      <dc:date>2026-07-06T10:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter the service request with a particular request name?</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301591#M3424</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/87870"&gt;@Naveenkumar_D&lt;/a&gt;already explained why this happens.&lt;BR /&gt;But if&amp;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.&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;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)&lt;/LI-CODE&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;In my case, this query returns the expected results:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t_pawlak_0-1783332520202.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33612iBDAEC3F7401DDE8F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="t_pawlak_0-1783332520202.png" alt="t_pawlak_0-1783332520202.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2026 10:09:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301591#M3424</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2026-07-06T10:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter the service request with a particular request name?</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301618#M3425</link>
      <description>&lt;P&gt;Sadly, I have tried to check for the endpoint.name or span.name and they do not return any useful results (either * or null)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hillman_0-1783389366304.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33617i04FBD8C4980EEF2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hillman_0-1783389366304.png" alt="Hillman_0-1783389366304.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2026 01:56:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-filter-the-service-request-with-a-particular-request-name/m-p/301618#M3425</guid>
      <dc:creator>Hillman</dc:creator>
      <dc:date>2026-07-07T01:56:13Z</dc:date>
    </item>
  </channel>
</rss>

