<?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: Graph showing the response time of outgoing services in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Graph-showing-the-response-time-of-outgoing-services/m-p/301510#M3415</link>
    <description>&lt;P&gt;Maybe I should use this DQL?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;timeseries { response_time = avg(dt.service.request.response_time) }, by: { dt.entity.service }
| filter in(dt.entity.service, classicEntitySelector("""  type(SERVICE), toRelationship.calls(entityId("SERVICE-7B67187994EC59EC")) """))
| fieldsAdd service_name = entityName(dt.entity.service)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Is there anyone who could confirm this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jul 2026 12:35:30 GMT</pubDate>
    <dc:creator>albertokirey</dc:creator>
    <dc:date>2026-07-02T12:35:30Z</dc:date>
    <item>
      <title>Graph showing the response time of outgoing services</title>
      <link>https://community.dynatrace.com/t5/DQL/Graph-showing-the-response-time-of-outgoing-services/m-p/301466#M3406</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;I'd like to create a graph showing the response times of calls to other services that my Mulesoft service makes (and maybe also the failure rate). It's similar to what's already available in the Services dashboard under "Outgoing services," but all in a single graph. How can I do this?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2026 05:45:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Graph-showing-the-response-time-of-outgoing-services/m-p/301466#M3406</guid>
      <dc:creator>albertokirey</dc:creator>
      <dc:date>2026-07-02T05:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Graph showing the response time of outgoing services</title>
      <link>https://community.dynatrace.com/t5/DQL/Graph-showing-the-response-time-of-outgoing-services/m-p/301489#M3409</link>
      <description>&lt;P&gt;The easiest way is to query the built-in service metrics rather than spans. The Outgoing services tile in the Service app is based on service-to-service request metrics, and you can recreate a similar visualization in a dashboard.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries {
    response_time = avg(dt.service.request.response_time)
},
by: { dt.entity.service, dt.entity.service_to }
| filter dt.entity.service == "SERVICE-9C186B48B0905E85"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want the 90th percentile instead:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries {
    responseTime_p90_timeseries = percentile(dt.service.request.response_time, 90)
},
by: { dt.entity.service, dt.entity.service_to }
| filter dt.entity.service == "SERVICE-9C186B48B0905E85"&lt;/LI-CODE&gt;&lt;P&gt;To visualize the failure rate of outgoing calls:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries {
    failure_rate = avg(dt.service.request.failure_rate)
},
by: { dt.entity.service, dt.entity.service_to }
| filter dt.entity.service == "SERVICE-9C186B48B0905E85"&lt;/LI-CODE&gt;&lt;P&gt;Each downstream service will appear as a separate series on the same graph, allowing you to compare response times or failure rates over time.&lt;BR /&gt;&lt;BR /&gt;or in one graph do this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;// p50
timeseries responseTime_p50_timeseries = percentile(dt.service.request.response_time, 50),
    filter: (dt.entity.service == "SERVICE-9C186B48B0905E85"), 
    nonempty: true  
| fieldsAdd metricName = "Response time p50"
| append[
// p90
timeseries responseTime_p90_timeseries = percentile(dt.service.request.response_time, 90),
    filter: (dt.entity.service == "SERVICE-9C186B48B0905E85" OR dt.smartscape.service == toSmartscapeId("SERVICE-9C186B48B0905E85")), nonempty: true  | fieldsAdd metricName = "Response time p90"]
| append[
// p99
timeseries responseTime_p99_timeseries = percentile(dt.service.request.response_time, 99),
    filter: (dt.entity.service == "SERVICE-9C186B48B0905E85" 
    OR dt.smartscape.service == toSmartscapeId("SERVICE-9C186B48B0905E85")), nonempty: true  
    | fieldsAdd metricName = "Response time p99"]&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 02 Jul 2026 10:00:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Graph-showing-the-response-time-of-outgoing-services/m-p/301489#M3409</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2026-07-02T10:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Graph showing the response time of outgoing services</title>
      <link>https://community.dynatrace.com/t5/DQL/Graph-showing-the-response-time-of-outgoing-services/m-p/301509#M3414</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/42367"&gt;@t_pawlak&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;it seems not to be working. The&amp;nbsp;&lt;FONT face="courier new,courier"&gt;dt.entity.service_to&lt;/FONT&gt; doesn't exist.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="albertokirey_0-1782994262877.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33598iE7AC50A7FE39CD34/image-size/medium?v=v2&amp;amp;px=400" role="button" title="albertokirey_0-1782994262877.png" alt="albertokirey_0-1782994262877.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the DQL:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;timeseries { response_time = avg(dt.service.request.response_time) }, by: { dt.entity.service, dt.entity.service_to }
| filter in(dt.entity.service, classicEntitySelector("""type(service), entityname.equals("Mulesoft Service Prod")"""))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2026 12:14:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Graph-showing-the-response-time-of-outgoing-services/m-p/301509#M3414</guid>
      <dc:creator>albertokirey</dc:creator>
      <dc:date>2026-07-02T12:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Graph showing the response time of outgoing services</title>
      <link>https://community.dynatrace.com/t5/DQL/Graph-showing-the-response-time-of-outgoing-services/m-p/301510#M3415</link>
      <description>&lt;P&gt;Maybe I should use this DQL?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;timeseries { response_time = avg(dt.service.request.response_time) }, by: { dt.entity.service }
| filter in(dt.entity.service, classicEntitySelector("""  type(SERVICE), toRelationship.calls(entityId("SERVICE-7B67187994EC59EC")) """))
| fieldsAdd service_name = entityName(dt.entity.service)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Is there anyone who could confirm this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2026 12:35:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Graph-showing-the-response-time-of-outgoing-services/m-p/301510#M3415</guid>
      <dc:creator>albertokirey</dc:creator>
      <dc:date>2026-07-02T12:35:30Z</dc:date>
    </item>
  </channel>
</rss>

