<?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 How to get the absolute value of a metric in a graph? in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/How-to-get-the-absolute-value-of-a-metric-in-a-graph/m-p/185639#M2320</link>
    <description>&lt;P&gt;We have enabled NTP monitoring on our systems which provides us with the `builtin:tech.ntp.ntp_offset` metric. This value is the time offset from the actual which can be either positive or negative.&lt;/P&gt;
&lt;P&gt;Now the problem is that for either alerting or thresholds in graphs I can only define positive offsets. I can't add an alert or threshold for anything below a certain value. So I'd like to transform the graph to convert any negative values into positive. The absolute value in mathematical terms.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Looking for an absolute function, I don't believe there is any?&lt;/LI&gt;
&lt;LI&gt;Neither are the square root or square/exponent functions which could provide this functionality with a formula.&lt;/LI&gt;
&lt;LI&gt;Putting a - sign before the metric inverts the values. This allows me to create a normal and inverted graph which works for dashboarding and alerts. But it feels very much like a workaround since everything is duplicated.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Am I missing something here or is this functionality not available (yet)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Using&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; Dynatrace Managed version 1.238 if that is relevant)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 14:59:35 GMT</pubDate>
    <dc:creator>SkipGroot</dc:creator>
    <dc:date>2023-05-24T14:59:35Z</dc:date>
    <item>
      <title>How to get the absolute value of a metric in a graph?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/How-to-get-the-absolute-value-of-a-metric-in-a-graph/m-p/185639#M2320</link>
      <description>&lt;P&gt;We have enabled NTP monitoring on our systems which provides us with the `builtin:tech.ntp.ntp_offset` metric. This value is the time offset from the actual which can be either positive or negative.&lt;/P&gt;
&lt;P&gt;Now the problem is that for either alerting or thresholds in graphs I can only define positive offsets. I can't add an alert or threshold for anything below a certain value. So I'd like to transform the graph to convert any negative values into positive. The absolute value in mathematical terms.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Looking for an absolute function, I don't believe there is any?&lt;/LI&gt;
&lt;LI&gt;Neither are the square root or square/exponent functions which could provide this functionality with a formula.&lt;/LI&gt;
&lt;LI&gt;Putting a - sign before the metric inverts the values. This allows me to create a normal and inverted graph which works for dashboarding and alerts. But it feels very much like a workaround since everything is duplicated.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Am I missing something here or is this functionality not available (yet)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Using&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; Dynatrace Managed version 1.238 if that is relevant)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 14:59:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/How-to-get-the-absolute-value-of-a-metric-in-a-graph/m-p/185639#M2320</guid>
      <dc:creator>SkipGroot</dc:creator>
      <dc:date>2023-05-24T14:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the absolute value of a metric in a graph</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/How-to-get-the-absolute-value-of-a-metric-in-a-graph/m-p/185646#M2322</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/50400"&gt;@SkipGroot&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can the follow threshold setting help you?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_1-1651144421430.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/5525iA98BA23F88AF2876/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_1-1651144421430.png" alt="Yosi_Neuman_1-1651144421430.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And for alerting you will need to add 2&amp;nbsp; rules one for positive (above) and the other for negative (below)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_4-1651144793036.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/5528iC76EC43E79AA383B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_4-1651144793036.png" alt="Yosi_Neuman_4-1651144793036.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_3-1651144730072.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/5527i8B9A2CC131BF74E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_3-1651144730072.png" alt="Yosi_Neuman_3-1651144730072.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Yos&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 11:19:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/How-to-get-the-absolute-value-of-a-metric-in-a-graph/m-p/185646#M2322</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2022-04-28T11:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the absolute value of a metric in a graph</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/How-to-get-the-absolute-value-of-a-metric-in-a-graph/m-p/185651#M2323</link>
      <description>&lt;P&gt;I did not realize the threshold definition colors were applied in the specified order, a weird way of doing it but it works perfectly!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And for the alerts I guess I'll just have to duplicate the metric there. Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 11:34:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/How-to-get-the-absolute-value-of-a-metric-in-a-graph/m-p/185651#M2323</guid>
      <dc:creator>SkipGroot</dc:creator>
      <dc:date>2022-04-28T11:34:31Z</dc:date>
    </item>
  </channel>
</rss>

