<?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: API, Database Statement Response Time by Request Count in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/API-Database-Statement-Response-Time-by-Request-Count/m-p/198129#M23217</link>
    <description>&lt;P&gt;Database statements metrics are not available out of the box for each statement. It's the same as for webservice request/operation at webservice level.&lt;BR /&gt;Statements must be marked as key requests before (see below)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dbkr.jpg" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8439i36E69F584B8844DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="dbkr.jpg" alt="dbkr.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then the related metrics that you can use are&lt;/P&gt;&lt;P&gt;builtin:service.keyRequest.count.total for request count&lt;/P&gt;&lt;P&gt;builtin:service.keyRequest.response.time for response time&lt;/P&gt;&lt;P&gt;you can filter by key request identifier which is "SERVICE_METHOD-XXXXXXX" you can find in the url of the screenshot above.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Nov 2022 13:45:02 GMT</pubDate>
    <dc:creator>paolo_fumanelli</dc:creator>
    <dc:date>2022-11-10T13:45:02Z</dc:date>
    <item>
      <title>API, Database Statement Response Time by Request Count</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/API-Database-Statement-Response-Time-by-Request-Count/m-p/197929#M23168</link>
      <description>&lt;P&gt;Hello, I'm trying to hit an API that will return the response time of my top X database statements by response time. Im using the accept:text/csv header, and would like to see the response time and request count returned in separate columns for each X database statement for a given a period of time.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 08:34:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/API-Database-Statement-Response-Time-by-Request-Count/m-p/197929#M23168</guid>
      <dc:creator>TylerProduct</dc:creator>
      <dc:date>2022-11-14T08:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: API, Database Statement Response Time by Request Count</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/API-Database-Statement-Response-Time-by-Request-Count/m-p/198125#M23214</link>
      <description>&lt;P&gt;Hi, you can combine boths calls in a single API call but it won't output a single array with two dimensions. You have to process them afterwards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;see example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/api/v2/metrics/query?metricSelector=(builtin:service.response.time:splitBy():sort(value(auto,descending)):limit(100)):limit(100):names,(builtin:service.requestCount.total:splitBy():sort(value(auto,descending)):limit(100)):limit(100):names&amp;amp;from=-2h&amp;amp;to=now&amp;amp;api-token=XXXXXXXXXXXXX&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 11:50:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/API-Database-Statement-Response-Time-by-Request-Count/m-p/198125#M23214</guid>
      <dc:creator>paolo_fumanelli</dc:creator>
      <dc:date>2022-11-10T11:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: API, Database Statement Response Time by Request Count</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/API-Database-Statement-Response-Time-by-Request-Count/m-p/198127#M23216</link>
      <description>&lt;P&gt;Thank you for your reply, this is very helpful. How do I add the database statements do the call so I can map them to the values?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 13:24:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/API-Database-Statement-Response-Time-by-Request-Count/m-p/198127#M23216</guid>
      <dc:creator>TylerProduct</dc:creator>
      <dc:date>2022-11-10T13:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: API, Database Statement Response Time by Request Count</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/API-Database-Statement-Response-Time-by-Request-Count/m-p/198129#M23217</link>
      <description>&lt;P&gt;Database statements metrics are not available out of the box for each statement. It's the same as for webservice request/operation at webservice level.&lt;BR /&gt;Statements must be marked as key requests before (see below)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dbkr.jpg" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8439i36E69F584B8844DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="dbkr.jpg" alt="dbkr.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then the related metrics that you can use are&lt;/P&gt;&lt;P&gt;builtin:service.keyRequest.count.total for request count&lt;/P&gt;&lt;P&gt;builtin:service.keyRequest.response.time for response time&lt;/P&gt;&lt;P&gt;you can filter by key request identifier which is "SERVICE_METHOD-XXXXXXX" you can find in the url of the screenshot above.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 13:45:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/API-Database-Statement-Response-Time-by-Request-Count/m-p/198129#M23217</guid>
      <dc:creator>paolo_fumanelli</dc:creator>
      <dc:date>2022-11-10T13:45:02Z</dc:date>
    </item>
  </channel>
</rss>

