<?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: get Service calls count using displayNames in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Get-Service-calls-count-using-displayNames/m-p/236409#M2924</link>
    <description>&lt;P&gt;But that's not a service name in your screenshot, but a process group name. Basically, you want parameters like this:&lt;BR /&gt;&lt;BR /&gt;metricSelector:&amp;nbsp;builtin:service.requestCount.server:splitBy("dt.entity.service"):auto&lt;BR /&gt;entitySelector:&amp;nbsp;type(service),fromRelationship.runsOn(type(PROCESS_GROUP),entityName.equals("PG1")),tag("CF Space:PROD")&lt;BR /&gt;&lt;BR /&gt;However with metrics you can't have it split by the webservice:method. If this is required, you need to define all your service methods as key requests or define calculated metrics. If you are on SaaS with Grail, then it will soon be possible to get this data using DQL when traces on grail are available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Another solution&amp;nbsp;is to export that in the MDA (what you have in your screen), on the bottom there is a menu for that:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julius_Loman_0-1707290464670.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/17435i183A977202E58392/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julius_Loman_0-1707290464670.png" alt="Julius_Loman_0-1707290464670.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2024 07:21:48 GMT</pubDate>
    <dc:creator>Julius_Loman</dc:creator>
    <dc:date>2024-02-07T07:21:48Z</dc:date>
    <item>
      <title>Get Service calls count using displayNames</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Get-Service-calls-count-using-displayNames/m-p/236287#M2916</link>
      <description>&lt;P&gt;I am new to Dynatrace API's , we have one use case were currently our team is manually retrieving the&amp;nbsp; service calls count from Dynatrace UI every 15 days from view web request options provide in UI.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="afalke_0-1707139871993.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/17410iE1A3C4BAD6DD3D25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="afalke_0-1707139871993.png" alt="afalke_0-1707139871993.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Instead of manual work we are planning to automate this process using one program which will communicate to Dynatrace API's and will return the data, but i am not sure which API's need to be used .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note:- Team search the entity in webservices search box user application observability section using controller class name (that is how the services is configured in Dynatrace)&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="afalke_1-1707140580014.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/17411i61D6EF6B2CD7EDA0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="afalke_1-1707140580014.png" alt="afalke_1-1707140580014.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 13:27:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Get-Service-calls-count-using-displayNames/m-p/236287#M2916</guid>
      <dc:creator>afalke</dc:creator>
      <dc:date>2024-08-08T13:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: get Service calls count using displayNames</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Get-Service-calls-count-using-displayNames/m-p/236290#M2917</link>
      <description>&lt;P&gt;You can query the metrics using&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/api-metrics-v2-get-datapoints" target="_self"&gt;Metrics v2 API&lt;/A&gt;&amp;nbsp;easily. Don't forget it is possible to query multiple metrics in one single call (request count and failed request count for example).&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 13:49:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Get-Service-calls-count-using-displayNames/m-p/236290#M2917</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2024-02-05T13:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: get Service calls count using displayNames</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Get-Service-calls-count-using-displayNames/m-p/236294#M2918</link>
      <description>&lt;P&gt;Sorry for asking basic questions !&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which metricKey need to be used in query to get the service calls count for each endpoint expose by individuals services?&amp;nbsp;&lt;/P&gt;&lt;P&gt;where to pass the displayName of the service ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 14:05:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Get-Service-calls-count-using-displayNames/m-p/236294#M2918</guid>
      <dc:creator>afalke</dc:creator>
      <dc:date>2024-02-05T14:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: get Service calls count using displayNames</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Get-Service-calls-count-using-displayNames/m-p/236296#M2919</link>
      <description>&lt;P&gt;Sure, you find the list of builtin metrics here:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/built-in-metrics#services" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/built-in-metrics#services&lt;/A&gt;&amp;nbsp;you probably want&amp;nbsp;&lt;SPAN&gt;builtin:service&lt;/SPAN&gt;&lt;SPAN&gt;.requestCount&lt;/SPAN&gt;&lt;SPAN&gt;.total&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;If you need to find your services by display name, use the entitySelector parameter, such as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type(service),entityName.equals("MyService")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more info on Entity Selectors see it's &lt;A href="https://docs.dynatrace.com/docs/shortlink/api-entities-v2-selector" target="_self"&gt;documentation page&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 14:54:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Get-Service-calls-count-using-displayNames/m-p/236296#M2919</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2024-02-05T14:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: get Service calls count using displayNames</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Get-Service-calls-count-using-displayNames/m-p/236366#M2922</link>
      <description>&lt;P&gt;Sorry to bother you again!&lt;/P&gt;&lt;P&gt;I did try to create the query/url but did not get success&lt;span class="lia-unicode-emoji" title=":face_without_mouth:"&gt;😶&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me create query/url for below inputs.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="afalke_0-1707225730079.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/17425i38F4DF75A8DB7961/image-size/medium?v=v2&amp;amp;px=400" role="button" title="afalke_0-1707225730079.png" alt="afalke_0-1707225730079.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In UI getting requests count.&lt;/P&gt;&lt;P&gt;Notes:&amp;nbsp; In above picture process group name is web service name&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 13:24:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Get-Service-calls-count-using-displayNames/m-p/236366#M2922</guid>
      <dc:creator>afalke</dc:creator>
      <dc:date>2024-02-06T13:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: get Service calls count using displayNames</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Get-Service-calls-count-using-displayNames/m-p/236409#M2924</link>
      <description>&lt;P&gt;But that's not a service name in your screenshot, but a process group name. Basically, you want parameters like this:&lt;BR /&gt;&lt;BR /&gt;metricSelector:&amp;nbsp;builtin:service.requestCount.server:splitBy("dt.entity.service"):auto&lt;BR /&gt;entitySelector:&amp;nbsp;type(service),fromRelationship.runsOn(type(PROCESS_GROUP),entityName.equals("PG1")),tag("CF Space:PROD")&lt;BR /&gt;&lt;BR /&gt;However with metrics you can't have it split by the webservice:method. If this is required, you need to define all your service methods as key requests or define calculated metrics. If you are on SaaS with Grail, then it will soon be possible to get this data using DQL when traces on grail are available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Another solution&amp;nbsp;is to export that in the MDA (what you have in your screen), on the bottom there is a menu for that:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julius_Loman_0-1707290464670.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/17435i183A977202E58392/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julius_Loman_0-1707290464670.png" alt="Julius_Loman_0-1707290464670.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 07:21:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Get-Service-calls-count-using-displayNames/m-p/236409#M2924</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2024-02-07T07:21:48Z</dc:date>
    </item>
  </channel>
</rss>

