<?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 SLO for custom metrics in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/SLO-for-custom-metrics/m-p/209416#M1108</link>
    <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;I've a use case on ingested custom metrics. I need to do a SLO depending on the value of that ingested custom metric.&lt;/P&gt;&lt;P&gt;My case:&amp;nbsp;&lt;BR /&gt;I have multiple hosts with a custom metric&lt;BR /&gt;with value range of 0 to 3 (0- OFF, 1- ON,...)&lt;/P&gt;&lt;P&gt;i have three questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Can i create a SLO with that custom metric?&lt;/LI&gt;&lt;LI&gt;Is it possible to create a filter for the values of a custom metric(ex: metricvalue ==1, metricvalue == 2,...)?&lt;/LI&gt;&lt;LI&gt;And if it is can i have a example?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks all,&lt;BR /&gt;RM&lt;/P&gt;</description>
    <pubDate>Mon, 10 Apr 2023 15:16:30 GMT</pubDate>
    <dc:creator>RM</dc:creator>
    <dc:date>2023-04-10T15:16:30Z</dc:date>
    <item>
      <title>SLO for custom metrics</title>
      <link>https://community.dynatrace.com/t5/Automations/SLO-for-custom-metrics/m-p/209416#M1108</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;I've a use case on ingested custom metrics. I need to do a SLO depending on the value of that ingested custom metric.&lt;/P&gt;&lt;P&gt;My case:&amp;nbsp;&lt;BR /&gt;I have multiple hosts with a custom metric&lt;BR /&gt;with value range of 0 to 3 (0- OFF, 1- ON,...)&lt;/P&gt;&lt;P&gt;i have three questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Can i create a SLO with that custom metric?&lt;/LI&gt;&lt;LI&gt;Is it possible to create a filter for the values of a custom metric(ex: metricvalue ==1, metricvalue == 2,...)?&lt;/LI&gt;&lt;LI&gt;And if it is can i have a example?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks all,&lt;BR /&gt;RM&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 15:16:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/SLO-for-custom-metrics/m-p/209416#M1108</guid>
      <dc:creator>RM</dc:creator>
      <dc:date>2023-04-10T15:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: SLO for custom metrics</title>
      <link>https://community.dynatrace.com/t5/Automations/SLO-for-custom-metrics/m-p/209464#M1109</link>
      <description>&lt;P&gt;You are trying to monitor states with your metric.&lt;/P&gt;
&lt;P&gt;Metrics in Dynatrace are timeseries and therefore suited for capturing measurements, and not states. This is something I cannot recommend, for monitoring states "Business Analytics in Dynatrace"&lt;BR /&gt;powered by Grail would be the better choice: &lt;A href="https://www.dynatrace.com/support/help/platform-modules/business-analytics" target="_blank"&gt;https://www.dynatrace.com/support/help/platform-modules/business-analytics&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;However, to answer your original questions:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Yes, you can use any metric in an SLO.&lt;/LI&gt;
&lt;LI&gt;Yes, that's possible with the series condition of the filter:&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/metric-v2/metric-selector#conditions" target="_blank"&gt;https://www.dynatrace.com/support/help/dynatrace-api/environment-api/metric-v2/metric-selector#conditions&lt;/A&gt;&lt;BR /&gt;Or the partition transformation:&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/metric-v2/metric-selector#partition" target="_blank"&gt;https://www.dynatrace.com/support/help/dynatrace-api/environment-api/metric-v2/metric-selector#partition&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Depends on what behavior you want to have.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 11 Apr 2023 05:56:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/SLO-for-custom-metrics/m-p/209464#M1109</guid>
      <dc:creator>abbachr</dc:creator>
      <dc:date>2023-04-11T05:56:44Z</dc:date>
    </item>
  </channel>
</rss>

