<?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: Set resolution to SLO in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Set-resolution-to-SLO/m-p/247414#M1568</link>
    <description>&lt;P&gt;Hello Ramon,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know of any way to change the SLO resolution to other value.&lt;/P&gt;&lt;P&gt;To transform the data and make it similar to what you wanted maybe try using&amp;nbsp;the &lt;A href="https://docs.dynatrace.com/docs/shortlink/api-metrics-v2-selector#rollup" target="_blank" rel="noopener"&gt;Rollup transformation&lt;/A&gt;. It'll&amp;nbsp;&lt;SPAN&gt;smooth the data points, removing any spikes from the requested timeframe, so you will have aproximetly the same experience as using the Resolution. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Fo the documentation: "&lt;/SPAN&gt;the transformation takes a data point, adds the four previous data point to form a rollup window, and then uses the average of these five datapoints to calculate the final datapoint value." so you cab use it like the next code to simulate a resolution of 5 min:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:service.requestCount.total:splitBy():sort(value(auto,descending)):rollup(sum,5m)&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jaume_reverte_0-1717575595685.png" style="width: 860px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/20324i53E618E0614EA840/image-dimensions/860x437?v=v2" width="860" height="437" role="button" title="jaume_reverte_0-1717575595685.png" alt="jaume_reverte_0-1717575595685.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jun 2024 08:22:24 GMT</pubDate>
    <dc:creator>jaume_reverte</dc:creator>
    <dc:date>2024-06-05T08:22:24Z</dc:date>
    <item>
      <title>Set resolution to SLO</title>
      <link>https://community.dynatrace.com/t5/Automations/Set-resolution-to-SLO/m-p/225018#M1080</link>
      <description>&lt;P&gt;Hey guys,&lt;BR /&gt;&lt;BR /&gt;I am creating a new SLO using the dynatrace feature. Before that, I have created and testing my metrics on dynatrace data explorer&lt;/P&gt;&lt;P&gt;So I have something like that:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:service.requestCount.total:filter(in("dt.entity.service",entitySelector("type(service),tag(~"CONTAINER:my-container-name~")")))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;This brings to me a total of requests as you can see&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="resolution_1m.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/14525i03A9C7072ADEAC29/image-size/large?v=v2&amp;amp;px=999" role="button" title="resolution_1m.png" alt="resolution_1m.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I need to get the total amount in a different resolution, instead of 1 minute. I need to a 5 minutes resolution. In the data explorer, there is a resolution field on Settings that I can change it easily&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="resolution_5m.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/14526iC973E0D2501163A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="resolution_5m.png" alt="resolution_5m.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Its works!&lt;BR /&gt;&lt;BR /&gt;But now I need to use this in my SLO. For example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;((builtin:service.requestCount.total:filter(in("dt.entity.service",entitySelector("type(service),tag(~"CONTAINER:my-container-name~")"))):partition("latency",value("good",gt(1000))):splitBy():count:default(0)) / (1 *100))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything is ok. I mean the results of this query is ok. But the problem is that the SLO resolution is 1 minute and this affects the SLO result. Is it possible to change the SLO resolution to other value than 1 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS.: I already know that dynatrace works with auto resolution according to the time range that is selected. But in this scenario is not useful for me. I would like to set my own SLO resolution&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 20:46:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Set-resolution-to-SLO/m-p/225018#M1080</guid>
      <dc:creator>ramondepieri</dc:creator>
      <dc:date>2023-10-10T20:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set resolution to SLO</title>
      <link>https://community.dynatrace.com/t5/Automations/Set-resolution-to-SLO/m-p/247414#M1568</link>
      <description>&lt;P&gt;Hello Ramon,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know of any way to change the SLO resolution to other value.&lt;/P&gt;&lt;P&gt;To transform the data and make it similar to what you wanted maybe try using&amp;nbsp;the &lt;A href="https://docs.dynatrace.com/docs/shortlink/api-metrics-v2-selector#rollup" target="_blank" rel="noopener"&gt;Rollup transformation&lt;/A&gt;. It'll&amp;nbsp;&lt;SPAN&gt;smooth the data points, removing any spikes from the requested timeframe, so you will have aproximetly the same experience as using the Resolution. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Fo the documentation: "&lt;/SPAN&gt;the transformation takes a data point, adds the four previous data point to form a rollup window, and then uses the average of these five datapoints to calculate the final datapoint value." so you cab use it like the next code to simulate a resolution of 5 min:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:service.requestCount.total:splitBy():sort(value(auto,descending)):rollup(sum,5m)&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jaume_reverte_0-1717575595685.png" style="width: 860px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/20324i53E618E0614EA840/image-dimensions/860x437?v=v2" width="860" height="437" role="button" title="jaume_reverte_0-1717575595685.png" alt="jaume_reverte_0-1717575595685.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 08:22:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Set-resolution-to-SLO/m-p/247414#M1568</guid>
      <dc:creator>jaume_reverte</dc:creator>
      <dc:date>2024-06-05T08:22:24Z</dc:date>
    </item>
  </channel>
</rss>

