<?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 Calculating availability with Maintenance Windows in API in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Calculating-availability-with-Maintenance-Windows-in-API/m-p/209414#M2428</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use metrics API V2 to see availability for a host, but it gives me a different result than the host detail page. Those are the screen shots of the same host.&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="Screenshot 2023-04-10 at 16.36.25.png" style="width: 200px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11031iB6EEA5BCC95259D7/image-size/small?v=v2&amp;amp;px=200" role="button" title="Screenshot 2023-04-10 at 16.36.25.png" alt="Screenshot 2023-04-10 at 16.36.25.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-04-10 at 16.38.18.png" style="width: 200px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11030i0677CDAD36C8CF58/image-size/small?v=v2&amp;amp;px=200" role="button" title="Screenshot 2023-04-10 at 16.38.18.png" alt="Screenshot 2023-04-10 at 16.38.18.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;as you can see there is 0.02% difference. I use host availability % aka&amp;nbsp;&lt;SPAN&gt;builtin:host.availability metric for the data explorer. As I understand, it is because of the maintenance mode which is not calculated with these metrics.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Do you know any other way to get availability on which maintenance mode will be included or is there any way for that in the API?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Happy Easter &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2024 13:57:35 GMT</pubDate>
    <dc:creator>Vusal_Ismayilov</dc:creator>
    <dc:date>2024-08-20T13:57:35Z</dc:date>
    <item>
      <title>Calculating availability with Maintenance Windows in API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Calculating-availability-with-Maintenance-Windows-in-API/m-p/209414#M2428</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use metrics API V2 to see availability for a host, but it gives me a different result than the host detail page. Those are the screen shots of the same host.&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="Screenshot 2023-04-10 at 16.36.25.png" style="width: 200px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11031iB6EEA5BCC95259D7/image-size/small?v=v2&amp;amp;px=200" role="button" title="Screenshot 2023-04-10 at 16.36.25.png" alt="Screenshot 2023-04-10 at 16.36.25.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-04-10 at 16.38.18.png" style="width: 200px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11030i0677CDAD36C8CF58/image-size/small?v=v2&amp;amp;px=200" role="button" title="Screenshot 2023-04-10 at 16.38.18.png" alt="Screenshot 2023-04-10 at 16.38.18.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;as you can see there is 0.02% difference. I use host availability % aka&amp;nbsp;&lt;SPAN&gt;builtin:host.availability metric for the data explorer. As I understand, it is because of the maintenance mode which is not calculated with these metrics.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Do you know any other way to get availability on which maintenance mode will be included or is there any way for that in the API?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Happy Easter &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 13:57:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Calculating-availability-with-Maintenance-Windows-in-API/m-p/209414#M2428</guid>
      <dc:creator>Vusal_Ismayilov</dc:creator>
      <dc:date>2024-08-20T13:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: calculating availabilty with maintenance windows in dynatrace API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Calculating-availability-with-Maintenance-Windows-in-API/m-p/213200#M2519</link>
      <description>&lt;P&gt;I would check your time frames and host entity to ensure that you are looking at the same apples to apples. Maintenance windows are designed to preserve availability metrics and therefor you should have the same values from the host page to the data explorer page.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 19:38:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Calculating-availability-with-Maintenance-Windows-in-API/m-p/213200#M2519</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2023-05-25T19:38:41Z</dc:date>
    </item>
  </channel>
</rss>

