<?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 How to detect high request cardinality in Services? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-detect-high-request-cardinality-in-Services/m-p/232463#M30148</link>
    <description>&lt;P&gt;Sometimes, Services are detected with a high number of different requests. That mainly happens when requests have UUIDs/IDs/etc that Dynatrace doesn't manage to automatically clean from web request names. High cardinality is not desirable of course, because at the limit, all requests are different...&lt;/P&gt;&lt;P&gt;The question is how we can detect these Services? I believe it has to be through API calls, but before digging heavy into this, has someone tackled this?&lt;/P&gt;</description>
    <pubDate>Wed, 20 Dec 2023 10:56:37 GMT</pubDate>
    <dc:creator>AntonioSousa</dc:creator>
    <dc:date>2023-12-20T10:56:37Z</dc:date>
    <item>
      <title>How to detect high request cardinality in Services?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-detect-high-request-cardinality-in-Services/m-p/232463#M30148</link>
      <description>&lt;P&gt;Sometimes, Services are detected with a high number of different requests. That mainly happens when requests have UUIDs/IDs/etc that Dynatrace doesn't manage to automatically clean from web request names. High cardinality is not desirable of course, because at the limit, all requests are different...&lt;/P&gt;&lt;P&gt;The question is how we can detect these Services? I believe it has to be through API calls, but before digging heavy into this, has someone tackled this?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 10:56:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-detect-high-request-cardinality-in-Services/m-p/232463#M30148</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2023-12-20T10:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect high request cardinality in Services?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-detect-high-request-cardinality-in-Services/m-p/232576#M30167</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/17213"&gt;@AntonioSousa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today I have similar requirement for one of the client where I need to clean trnxID from thousands of request URLs to make it&amp;nbsp;distinct.&lt;BR /&gt;Here is where I'm going to start with by creating one clean up rule for the web request.&lt;/P&gt;&lt;P&gt;Just need to work on right regex for this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RazTN7_0-1703161182059.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16363iD4EE0CD674C2314B/image-size/large?v=v2&amp;amp;px=999" role="button" title="RazTN7_0-1703161182059.png" alt="RazTN7_0-1703161182059.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 12:29:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-detect-high-request-cardinality-in-Services/m-p/232576#M30167</guid>
      <dc:creator>RazTN7</dc:creator>
      <dc:date>2023-12-21T12:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect high request cardinality in Services?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-detect-high-request-cardinality-in-Services/m-p/232580#M30170</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/4525"&gt;@RazTN7&lt;/a&gt;&amp;nbsp; see my tip&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Dynatrace-tips/PRO-TIP-Global-request-naming-for-REST-services/m-p/176341" target="_self"&gt;PRO TIP - Global request naming for REST services&lt;/A&gt;&amp;nbsp;you can do it the same way.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/17213"&gt;@AntonioSousa&lt;/a&gt;&amp;nbsp;this is not possible with API at the moment, afaik. With traces in Grail this is likely possible. I'd start with something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch spans
| filter span.kind == "server"
| summarize count(), by:{dt.entity.service, code.function}
| summarize count(), alias: `request_names`, by:{dt.entity.service}
| sort request_names desc&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 13:27:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-detect-high-request-cardinality-in-Services/m-p/232580#M30170</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2023-12-21T13:27:01Z</dc:date>
    </item>
  </channel>
</rss>

