<?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 Send alert notifications only on specific custom metric value's changes in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280581#M5733</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;We've set up a custom metric that contains the name of an external entity (API Gateway) and its health status, like this:&lt;/P&gt;
&lt;P&gt;0: unhealthy&lt;/P&gt;
&lt;P&gt;1: healthy&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-07-02 at 12.49.26.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28772i7CCD7CB25DE6FF93/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-07-02 at 12.49.26.png" alt="Screenshot 2025-07-02 at 12.49.26.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;We are receiveing and ingesting multiple same values over time for a given entity, for example:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Entity 1&lt;/STRONG&gt; - healthy (value: 1) -&amp;gt; everything OK, don't send notification&lt;BR /&gt;&lt;STRONG&gt;Entity 2&lt;/STRONG&gt; - healthy (value: 1) -&amp;gt; everything OK, don't send notification&lt;BR /&gt;&lt;STRONG&gt;Entity 1&lt;/STRONG&gt; - healthy (value: 1)&amp;nbsp;-&amp;gt; everything OK, don't send notification&lt;BR /&gt;&lt;STRONG&gt;Entity 1&lt;/STRONG&gt; - unhealthy (value: 0)&amp;nbsp;-&amp;gt; &lt;STRONG&gt;send notification as it is unhealthy&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Entity 3&lt;/STRONG&gt; - healthy (value: 1) -&amp;gt; everything OK, don't send notification&lt;BR /&gt;&lt;STRONG&gt;Entity 1&lt;/STRONG&gt; - unhealthy (value: 0)&amp;nbsp;-&amp;gt; don't send any notification because we've already did it&lt;BR /&gt;&lt;STRONG&gt;Entity 1&lt;/STRONG&gt; - healthy (value: 1) -&amp;gt; &lt;STRONG&gt;send a solved problem notification, as it became healthy again&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;So, we need to alert only on health status changes:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;from 1 to 0: send new problem notification, and don't notify any other 0's received for that particular entity.&lt;/LI&gt;
&lt;LI&gt;from 0 to 1: send resolved problem notification, and don't notify any other 1's received for that particular entity.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The trick here is that the email notification should be sent to the team responsible for that entity, which will be different on each case. Alerting Profile + Problem notifications doesn't seem to be able to specify variable destinations to send emails. Workflows have, but then I don't know how to send only emails when health changes and not for every redundant event.&lt;BR /&gt;&lt;BR /&gt;Anyone have some advice in how can we set that up?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;***&lt;STRONG&gt;UPDATE&lt;/STRONG&gt;: Metric events doesn't seem to provide enough customization for that. Could be Open Pipelines the answer?***&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Thu, 18 Dec 2025 13:59:50 GMT</pubDate>
    <dc:creator>danielbusquets</dc:creator>
    <dc:date>2025-12-18T13:59:50Z</dc:date>
    <item>
      <title>Send alert notifications only on specific custom metric value's changes</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280581#M5733</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;We've set up a custom metric that contains the name of an external entity (API Gateway) and its health status, like this:&lt;/P&gt;
&lt;P&gt;0: unhealthy&lt;/P&gt;
&lt;P&gt;1: healthy&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-07-02 at 12.49.26.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28772i7CCD7CB25DE6FF93/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-07-02 at 12.49.26.png" alt="Screenshot 2025-07-02 at 12.49.26.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;We are receiveing and ingesting multiple same values over time for a given entity, for example:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Entity 1&lt;/STRONG&gt; - healthy (value: 1) -&amp;gt; everything OK, don't send notification&lt;BR /&gt;&lt;STRONG&gt;Entity 2&lt;/STRONG&gt; - healthy (value: 1) -&amp;gt; everything OK, don't send notification&lt;BR /&gt;&lt;STRONG&gt;Entity 1&lt;/STRONG&gt; - healthy (value: 1)&amp;nbsp;-&amp;gt; everything OK, don't send notification&lt;BR /&gt;&lt;STRONG&gt;Entity 1&lt;/STRONG&gt; - unhealthy (value: 0)&amp;nbsp;-&amp;gt; &lt;STRONG&gt;send notification as it is unhealthy&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Entity 3&lt;/STRONG&gt; - healthy (value: 1) -&amp;gt; everything OK, don't send notification&lt;BR /&gt;&lt;STRONG&gt;Entity 1&lt;/STRONG&gt; - unhealthy (value: 0)&amp;nbsp;-&amp;gt; don't send any notification because we've already did it&lt;BR /&gt;&lt;STRONG&gt;Entity 1&lt;/STRONG&gt; - healthy (value: 1) -&amp;gt; &lt;STRONG&gt;send a solved problem notification, as it became healthy again&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;So, we need to alert only on health status changes:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;from 1 to 0: send new problem notification, and don't notify any other 0's received for that particular entity.&lt;/LI&gt;
&lt;LI&gt;from 0 to 1: send resolved problem notification, and don't notify any other 1's received for that particular entity.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The trick here is that the email notification should be sent to the team responsible for that entity, which will be different on each case. Alerting Profile + Problem notifications doesn't seem to be able to specify variable destinations to send emails. Workflows have, but then I don't know how to send only emails when health changes and not for every redundant event.&lt;BR /&gt;&lt;BR /&gt;Anyone have some advice in how can we set that up?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;***&lt;STRONG&gt;UPDATE&lt;/STRONG&gt;: Metric events doesn't seem to provide enough customization for that. Could be Open Pipelines the answer?***&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 13:59:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280581#M5733</guid>
      <dc:creator>danielbusquets</dc:creator>
      <dc:date>2025-12-18T13:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Send alert notifications only on specific custom metric value's changes (new problem: from 1 to 0, closed problem from 0 to 1)</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280589#M5734</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This can be done using &lt;A title="metric events" href="https://docs.dynatrace.com/docs/shortlink/metric-events" target="_blank" rel="noopener"&gt;metric events&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 11:39:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280589#M5734</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-07-02T11:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Send alert notifications only on specific custom metric value's changes (new problem: from 1 to 0, closed problem from 0 to 1)</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280603#M5735</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76195"&gt;@danielbusquets&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After setting up the metric event, you can link our event to the desired alerting profile either by tagging the metric event accordingly, or by using a custom rule within the alerting profile to directly target the problem name you’ve configured.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lubrman_0-1751462571124.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28775i215BCB59768B793E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lubrman_0-1751462571124.png" alt="lubrman_0-1751462571124.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lubrman_1-1751462602889.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28776iE7F74CEB9D440F76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lubrman_1-1751462602889.png" alt="lubrman_1-1751462602889.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 13:23:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280603#M5735</guid>
      <dc:creator>lubrman</dc:creator>
      <dc:date>2025-07-02T13:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Send alert notifications only on specific custom metric value's changes (new problem: from 1 to 0, closed problem from 0 to 1)</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280604#M5736</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I've tried Metric Events, but I see no way to have the logic to fit these requirements:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;API GW 1&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;- healthy event (value: 1) -&amp;gt; IGNORE (new event but it is healthy)&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;API GW 2&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;- healthy event (value: 1) -&amp;gt; IGNORE&amp;nbsp;(new event but it is healthy)&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;API GW 1&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;- healthy event (value: 1) -&amp;gt; IGNORE (repeated event!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;API GW 1&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;- unhealthy event (value: 0)&amp;nbsp;-&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;send notification as it is unhealthy&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;API GW 3&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;- healthy event (value: 1) -&amp;gt; IGNORE (new event but it is healthy)&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;API GW 1&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;- unhealthy event (value: 0)&amp;nbsp;-&amp;gt; IGNORE (repeated event!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;API GW 1&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;- healthy event (value: 1) -&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;send a solved problem notification, as it became healthy again&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 13:28:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280604#M5736</guid>
      <dc:creator>danielbusquets</dc:creator>
      <dc:date>2025-07-02T13:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Send alert notifications only on specific custom metric value's changes (new problem: from 1 to 0, closed problem from 0 to 1)</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280605#M5737</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/73905"&gt;@lubrman&lt;/a&gt;&amp;nbsp;thanks, but the problem is exactly on how to set up the metric event or the alerting mechanism (whether is an Anomaly Detector or a Metric Event, or a Workflow, or whatever way).&lt;BR /&gt;Next steps to link the Alerting Profile are clear.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 13:30:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280605#M5737</guid>
      <dc:creator>danielbusquets</dc:creator>
      <dc:date>2025-07-02T13:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Send alert notifications only on specific custom metric value's changes (new problem: from 1 to 0, closed problem from 0 to 1)</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280651#M5739</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76195" target="_blank"&gt;@danielbusquets&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And a similar format doesn’t work for you when searching in the Data Explorer?&lt;BR /&gt;You can then specifically define the services you want to monitor — you can use the same selector in the metric event as well.&lt;BR /&gt;&lt;BR /&gt;custome.api.gateway.healt.status:filter(and(or(in("api_name",entitySelector("type(api_name),entityName.equals(~"&lt;STRONG&gt;Entity 1&lt;/STRONG&gt;~")"))))):splitBy("dt.entity.process_group_instance"):sort(value(auto,descending))&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 05:34:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280651#M5739</guid>
      <dc:creator>lubrman</dc:creator>
      <dc:date>2025-07-03T05:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Send alert notifications only on specific custom metric value's changes (new problem: from 1 to 0, closed problem from 0 to 1)</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280654#M5740</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check sliding window&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/anomaly-detection-configuration#sliding-window" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/anomaly-detection-configuration#sliding-window&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 07:00:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280654#M5740</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-07-03T07:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Send alert notifications only on specific custom metric value's changes (new problem: from 1 to 0, closed problem from 0 to 1)</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280735#M5741</link>
      <description>&lt;P&gt;Is not doable. Shortest dealerting sliding window is 3 minute. So the unhealthy API Gateway will take 3 minutes at minimum to close the open problem.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 15:37:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280735#M5741</guid>
      <dc:creator>danielbusquets</dc:creator>
      <dc:date>2025-07-03T15:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Send alert notifications only on specific custom metric value's changes (new problem: from 1 to 0, closed problem from 0 to 1)</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280792#M5742</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It means, that is how Dynatrace works. If that does not fit your use case, that cannot be done today.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 08:29:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-alert-notifications-only-on-specific-custom-metric-value-s/m-p/280792#M5742</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-07-04T08:29:07Z</dc:date>
    </item>
  </channel>
</rss>

