<?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: Alerting for DEM Consumption in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-DEM-Consumption/m-p/267968#M5406</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/85557"&gt;@PauloM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please share the information you see in data explorer about&amp;nbsp;&lt;SPAN&gt;dem.units.monthly.consumed ?!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regarding your question about alerting on the metric selector, IMO the only way is to cerate an automation that will add a data point for a custom metric with this data from beginning of the month (-1m/M to now) and set the alert on this custom metric.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yos&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2025 08:43:18 GMT</pubDate>
    <dc:creator>Yosi_Neuman</dc:creator>
    <dc:date>2025-01-21T08:43:18Z</dc:date>
    <item>
      <title>Alerting for DEM Consumption</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-DEM-Consumption/m-p/267839#M5401</link>
      <description>&lt;P&gt;Hi team.&lt;BR /&gt;&lt;BR /&gt;I have a requirement to trigger an alert if the monthly DEM consumption reaches 80% of the monthly max of 800k.&lt;BR /&gt;I used the metric key dem.units.monthly.consumed and set the threshold too 640000 but it does not trigger the alert.&lt;BR /&gt;I tried testing with multiple values and still cannot get it to work.&lt;BR /&gt;&lt;BR /&gt;Can you get further suggestions how to improve my implementation?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 19:14:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-for-DEM-Consumption/m-p/267839#M5401</guid>
      <dc:creator>PauloM</dc:creator>
      <dc:date>2025-01-20T19:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting for DEM Consumption</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-DEM-Consumption/m-p/267939#M5404</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/85557"&gt;@PauloM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've just checked a couple of environments I'm in and don't see a metric called "&lt;SPAN&gt;dem.units.monthly.consumed&lt;/SPAN&gt;" in either classic or Grail metrics, is this a custom metric that has been set up within your tenant? Also, when you graph the data for that metric, what does it look like, how far apart are the data points? Is it only recording a value to the metric once a month, once a day, every minute?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 23:33:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-for-DEM-Consumption/m-p/267939#M5404</guid>
      <dc:creator>Fin_Ubels</dc:creator>
      <dc:date>2025-01-20T23:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting for DEM Consumption</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-DEM-Consumption/m-p/267954#M5405</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/47376"&gt;@Fin_Ubels&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The metric&amp;nbsp;&lt;SPAN&gt;dem.units.monthly.consumed only throws out a value every 0000 UTC. You can check the screenshot below&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeeeyps_0-1737437959184.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25848i15C3E94BD782DA05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeeeyps_0-1737437959184.png" alt="jeeeyps_0-1737437959184.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Nevertheless, I tried pursuing a different approach and make use of metric selector instead using below:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;(builtin:billing.synthetic.actions:splitBy():default(0,always))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;+(0.1*(builtin:billing.synthetic.requests:splitBy():default(0,always)))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;+(0.1*(builtin:billing.synthetic.external:splitBy():default(0,always)))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;+(builtin:billing.apps.web.sessionsWithReplayByApplication:filter(eq("Type","Billed")):splitBy():default(0,always))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;+0.25*(builtin:billing.apps.web.sessionsWithoutReplayByApplication:filter(eq("Type","Billed")):splitBy():default(0,always))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;+(0.01*(builtin:billing.apps.web.userActionPropertiesByApplication:splitBy():default(0,always)))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;+(builtin:billing.apps.mobile.sessionsWithReplayByApplication:filter(eq("Type","Billed")):splitBy():default(0,always))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;+0.25*(builtin:billing.apps.mobile.sessionsWithoutReplayByApplication:filter(eq("Type","Billed")):splitBy():default(0,always))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;+(0.01*(builtin:billing.apps.mobile.userActionPropertiesByMobileApplication:splitBy():default(0,always)))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;+0.25*(builtin:billing.apps.custom.sessionsWithoutReplayByApplication:filter(eq("Type","Billed")):default(0,always))&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;however, I can't seem to figure out how to get the value for the entire month using this approach so that the alert will trigger based on the monthly consumption. Any advise?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 05:40:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-for-DEM-Consumption/m-p/267954#M5405</guid>
      <dc:creator>PauloM</dc:creator>
      <dc:date>2025-01-21T05:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting for DEM Consumption</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-DEM-Consumption/m-p/267968#M5406</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/85557"&gt;@PauloM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please share the information you see in data explorer about&amp;nbsp;&lt;SPAN&gt;dem.units.monthly.consumed ?!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regarding your question about alerting on the metric selector, IMO the only way is to cerate an automation that will add a data point for a custom metric with this data from beginning of the month (-1m/M to now) and set the alert on this custom metric.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yos&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 08:43:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-for-DEM-Consumption/m-p/267968#M5406</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2025-01-21T08:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting for DEM Consumption</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-DEM-Consumption/m-p/268051#M5407</link>
      <description>&lt;P&gt;Since the metric only reports once a day, most of the day Dynatrace will not evaluate the metric as the anomaly detection settings can only evaluate a maximum of a 1h rolling period at a time. So what I imagine is happening is that when you go to create the alert, or test it, there hasn't been a value written to the metric for a while.&lt;/P&gt;&lt;P&gt;You would also need to ensure that under advanced model properties the violating samples is set to 1. By default it is set to 3 which in your case will result in no alert being fired. This is because during any given window there will only be 1 violating sample as the metric is only written once a day.&lt;/P&gt;&lt;P&gt;Considering the above I would check the violating samples and then also create the alert with a threshold of 1 and leave it overnight to validate.&lt;/P&gt;&lt;P&gt;Hopefully it's just a matter of changing the violating samples!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 21:40:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-for-DEM-Consumption/m-p/268051#M5407</guid>
      <dc:creator>Fin_Ubels</dc:creator>
      <dc:date>2025-01-21T21:40:31Z</dc:date>
    </item>
  </channel>
</rss>

