<?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: SLA Queries in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/SLA-Queries/m-p/188502#M21363</link>
    <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;I don't think this is achievable via USQL, but should be easily doable with the data explorer + SLOs functionality:&lt;BR /&gt;&lt;BR /&gt;1. Way to go would be using that multidimensional analysis screen to create a custom metric that counts all the requests that take less than 1s. Similar to this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alvaro_sanchez_0-1655293659601.png" style="width: 654px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/6097i5AA8D2392BACEB12/image-dimensions/654x134?v=v2" width="654" height="134" role="button" title="alvaro_sanchez_0-1655293659601.png" alt="alvaro_sanchez_0-1655293659601.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then creating an SLO that calculates the ratio that you mention: requests(&amp;lt;1s)/requests.&lt;BR /&gt;&lt;BR /&gt;2. This is also something that could directly be achieved with Data explorer, with a structure similar to this (in this case: hourly 90th percentile response time for an entire day and a specific service, you can tailor that to your other requirements):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alvaro_sanchez_1-1655293887321.png" style="width: 656px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/6098i72CDE8F40FD8FEFF/image-dimensions/656x292?v=v2" width="656" height="292" role="button" title="alvaro_sanchez_1-1655293887321.png" alt="alvaro_sanchez_1-1655293887321.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Only caveat is that the "public holiday" part of the request isn't something that Dynatrace can really do, but you can just use the timeframe to select that period of time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Álvaro&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2022 11:53:21 GMT</pubDate>
    <dc:creator>alvaro_sanchez</dc:creator>
    <dc:date>2022-06-15T11:53:21Z</dc:date>
    <item>
      <title>SLA Queries</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/SLA-Queries/m-p/188202#M21301</link>
      <description>&lt;P&gt;Hello DT Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank for always helping out. I need help developing two USQL queries:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m currently, daily pulling out 2 sets of SLA stats.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I’m using a custom multidimensional analysis of the Commercial B2B Response Time. I am&amp;nbsp;looking for the Request Count for the number of transactions where the Response time is in seconds&amp;nbsp;and the Total Transactions for a given day (generally Yesterday so I can go and investigate any that breach our SLA % measured as:&lt;BR /&gt;# trans &amp;lt;1s / Total trans for the day, etc.&lt;BR /&gt;On Mondays/ the day after public Holidays, I’ll need to run the query for each day that I don’t have values for.&lt;/LI&gt;&lt;LI&gt;I’m also looking for the average response time per hour for the last 24 hours, as well as the daily Average, Median, and 90th Percentile. Again, on Mondays/ the day after public Holidays, I’ll need to run the query for each day that I don’t have values for.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 23:29:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/SLA-Queries/m-p/188202#M21301</guid>
      <dc:creator>Gator88</dc:creator>
      <dc:date>2022-06-09T23:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: SLA Queries</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/SLA-Queries/m-p/188502#M21363</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;I don't think this is achievable via USQL, but should be easily doable with the data explorer + SLOs functionality:&lt;BR /&gt;&lt;BR /&gt;1. Way to go would be using that multidimensional analysis screen to create a custom metric that counts all the requests that take less than 1s. Similar to this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alvaro_sanchez_0-1655293659601.png" style="width: 654px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/6097i5AA8D2392BACEB12/image-dimensions/654x134?v=v2" width="654" height="134" role="button" title="alvaro_sanchez_0-1655293659601.png" alt="alvaro_sanchez_0-1655293659601.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then creating an SLO that calculates the ratio that you mention: requests(&amp;lt;1s)/requests.&lt;BR /&gt;&lt;BR /&gt;2. This is also something that could directly be achieved with Data explorer, with a structure similar to this (in this case: hourly 90th percentile response time for an entire day and a specific service, you can tailor that to your other requirements):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alvaro_sanchez_1-1655293887321.png" style="width: 656px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/6098i72CDE8F40FD8FEFF/image-dimensions/656x292?v=v2" width="656" height="292" role="button" title="alvaro_sanchez_1-1655293887321.png" alt="alvaro_sanchez_1-1655293887321.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Only caveat is that the "public holiday" part of the request isn't something that Dynatrace can really do, but you can just use the timeframe to select that period of time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Álvaro&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 11:53:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/SLA-Queries/m-p/188502#M21363</guid>
      <dc:creator>alvaro_sanchez</dc:creator>
      <dc:date>2022-06-15T11:53:21Z</dc:date>
    </item>
  </channel>
</rss>

