<?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 fetch response times of all the calls made through a Service in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-fetch-response-times-of-all-the-calls-made-through-a/m-p/194198#M2040</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/13072"&gt;@mark_bley&lt;/a&gt;&amp;nbsp;Thanks for your prompt reply. For my use case, i need purepath information in JSON format. Like for example, for below image i&amp;nbsp;&lt;SPAN&gt;need a JSON having list of response times of all the underlying calls.&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PurePath.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/7517i5A4C6DFF8FFA9AFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="PurePath.png" alt="PurePath.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 10 Sep 2022 11:30:37 GMT</pubDate>
    <dc:creator>Yashmeet</dc:creator>
    <dc:date>2022-09-10T11:30:37Z</dc:date>
    <item>
      <title>How to fetch response times of all the calls made through a Service?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-fetch-response-times-of-all-the-calls-made-through-a/m-p/194047#M2034</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I understand that we can fetch the average response time of services, for example, via the following TimeseriesAPI.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;SPAN&gt;https://{your-environment-id}.live.dynatrace.com/api/v1/timeseries/com.dynatrace.builtin:service.&lt;BR /&gt;responsetime?&amp;nbsp;apitoken=XXXXXXXXX&amp;amp;includeData=true&amp;amp;relativeTime=hour&amp;amp;aggregationType=avg&amp;amp;entity=&lt;BR /&gt;SERVICE-XXXXXXXXX&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This returns the average of response time of a specific&amp;nbsp;&lt;EM&gt;Service&lt;/EM&gt;&amp;nbsp;named as "&lt;EM&gt;SERVICE-XXXXXXXXX&lt;/EM&gt;".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have a service which calls another service. Both of these service makes series of db, authentication and other calls. Is there a way to get response time of a particular request made to SERVICE-XXXXXXXXX and also the individual response times of different calls that SERVICE-XXXXXXXXX made as part of the request.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 14:13:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-fetch-response-times-of-all-the-calls-made-through-a/m-p/194047#M2034</guid>
      <dc:creator>Yashmeet</dc:creator>
      <dc:date>2024-08-20T14:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch response times of all the calls made through a Service</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-fetch-response-times-of-all-the-calls-made-through-a/m-p/194179#M2035</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/54743"&gt;@Yashmeet&lt;/a&gt;&lt;/P&gt;&lt;P&gt;maybe following query is what you are looking for, it reports the response time for individual keyRequests&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:service.keyRequest.response.client:filter(and(in("dt.entity.service_method",entitySelector("type(service_method),entityName.equals(~"/Booking~")")))):splitBy("dt.entity.service_method"):avg:auto:sort(value(avg,descending)):limit(10)&lt;/LI-CODE&gt;&lt;P&gt;You would need to define the request as keyRequest beforehand&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_bley_0-1662734262501.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/7515i5A5B3CA86DF3F566/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mark_bley_0-1662734262501.png" alt="mark_bley_0-1662734262501.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 14:37:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-fetch-response-times-of-all-the-calls-made-through-a/m-p/194179#M2035</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2022-09-09T14:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch response times of all the calls made through a Service</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-fetch-response-times-of-all-the-calls-made-through-a/m-p/194198#M2040</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/13072"&gt;@mark_bley&lt;/a&gt;&amp;nbsp;Thanks for your prompt reply. For my use case, i need purepath information in JSON format. Like for example, for below image i&amp;nbsp;&lt;SPAN&gt;need a JSON having list of response times of all the underlying calls.&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PurePath.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/7517i5A4C6DFF8FFA9AFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="PurePath.png" alt="PurePath.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2022 11:30:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-fetch-response-times-of-all-the-calls-made-through-a/m-p/194198#M2040</guid>
      <dc:creator>Yashmeet</dc:creator>
      <dc:date>2022-09-10T11:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch response times of all the calls made through a Service</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-fetch-response-times-of-all-the-calls-made-through-a/m-p/194227#M2042</link>
      <description>&lt;P&gt;I see, unfortunately atm there is no way to extract PurePath data from the API.&lt;/P&gt;&lt;P&gt;You could check if creating a metric for the specific response times for that PostgreDB has the necessary info you are looking for.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_bley_0-1662967345687.png" style="width: 641px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/7526iAA338E9475C301E3/image-dimensions/641x234?v=v2" width="641" height="234" role="button" title="mark_bley_0-1662967345687.png" alt="mark_bley_0-1662967345687.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 07:23:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-fetch-response-times-of-all-the-calls-made-through-a/m-p/194227#M2042</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2022-09-12T07:23:22Z</dc:date>
    </item>
  </channel>
</rss>

