15 Mar 2021 09:42 PM - last edited on 01 Jul 2021 01:58 PM by MaciejNeumann
Hi,
Does anyone know how to edit the anomaly detection settings for alerts like this?
Application
QwertyApp
HTTP error rate increase
The current error rate value of 12.1 was above your auto-baseline of 11.8.
So for example, if I would like that we only alert when the auto-baseline is breached by 100 % - meaning we need to see at least an error rate value of 2 * 11,8 = 23,6 before this alert is generated. Where can I define that?
Based on the info I've got so far, the HTTP errors are actually coming from the OneAgents at server-side, not from RUM (like everything else under the Applications menu). Does anyone know if there's any documentation about these HTTP error rate alerts for Applications? I was unable to find any. And to be clear, I'm not talking about which 4xx or 5xx responses are regarded as errors per app. I'm happy with the way that is configured. I just want to raise the alerting threshold, so that I don't get those HTTP error alerts as often as I currently do.
I've also created an RFE regarding this topic (https://community.dynatrace.com/t5/Dynatrace-product-ideas/RFE-ability-to-configure-Application-HTTP...), but since there's no activity or comments there, I thought I'd also separately ask about it in this section.
Solved! Go to Solution.
16 Mar 2021 09:23 AM
Hi,
You can edit those on the application settings -> Anomaly Detection (to just one application) or globally under Settings -> Anomaly Detection -> Applications.
You can define the % deviation for error rates in there.
More details can be found here: https://www.dynatrace.com/support/help/how-to-use-dynatrace/problem-detection-and-analysis/problem-d...
16 Mar 2021 09:28 AM
Hi,
You can edit the JavaScript failure rate detection there:
"Alert if the percentage of user actions affected by JavaScript errors increases by [...]"
So is this an oversight in the UI text and the setting actually affects both HTTP and JS error rates?
16 Mar 2021 09:33 AM
Hi,
Yes, i think so. Is not restricted to js errors, is to all the app errors, as defined on the errors detection.
So the text should be just errors, not js errors....
16 Mar 2021 09:44 AM
Thanks Arturo! It would be great if we can get a confirmation from Dynatrace that it indeed works that way. Because so far I've got very contradicting information about this: both a Dynatrace consultant and a person from the in-product chat told me that I cannot edit this Application HTTP error rate anomaly detection under the Application's settings, only under Services settings. Which is why I'm slowly starting to lose my mind with this topic, since it seems that no one really knows how this works 😛
16 Mar 2021 09:51 AM
I understand the baseline is for all the errors, so the adjustment will affect to all of them, as defined on the error detection.
Here a blog post with more details on the topic: https://www.dynatrace.com/news/blog/extended-davis-awareness-of-http-and-custom-errors/
I think the UI is referencing the previous behavior (prior to v 200)
16 Mar 2021 09:53 AM
Great, thanks again Arturo. In that case the UI text for sure should be updated ASAP!
16 Mar 2021 01:54 PM
worth to add,
if you are setting alerting profile for 'HTTP error rate increase', there is no predefined type. You have to use a custom event type with the title 'HTTP error rate increase' to get alerts.
21 Dec 2022 01:23 PM
Hi,
Does anyone know what is the current status of these HTTP error rate increase alerts? I used to get these constantly from different customer environments. But now when I did a search, the last one I found was from 2021 - nothing during the entire 2022. I'm pretty sure Dynatrace has at least temporarily removed these alerts completely. Is that the case? If we want alerts about RUM HTTP errors, are custom alerts currently the only way to go?
The documentation only talks about JS errors for RUM: https://www.dynatrace.com/support/help/how-to-use-dynatrace/problem-detection-and-analysis/basic-con...
26 Mar 2024 01:59 PM
Hi,
Does anyone have info on these RUM HTTP error alerts? It looks like they were added in 2020 and removed in 2021. I actually just now stumbled upon an old Managed tenant with the popup "Enable Davis awareness of HTTP and custom errors", which contained a link to this blog post from 2020: https://www.dynatrace.com/news/blog/extended-davis-awareness-of-http-and-custom-errors/
17 Sep 2024 03:51 AM
Hi, I actually disabled "Detect increases in JavaScript errors" under Settings > Anomaly detection > Web applications because I thought it's only related to JavaScript. I did come across few discussions here and some did say the Error Rate does cover JavaScript, HTTP, and custom errors. However, all my web applications still receive anomalies related "Request Error Rate Increase" (even though I disabled at the global level). Can someone shed some lights?
A related questions, since these HTTP errors can come from web requests that have either with actions or without actions, I think these exceptions are also raised at the service level. In this case does that mean Dynatrace captures duplicated exceptions (one is from RUM's perspective and one is from Service's perspective)? Even if that's true, I couldn't find a way to disable Error Rate for RUMs given the observation I made above.
26 Sep 2024 01:10 PM - edited 26 Sep 2024 01:11 PM
Great questions, I wish someone could answers those. These RUM HTTP error problems suddenly did a comeback for us as well. But there's still no way I can think of how to configure them, since the options only have JavaScript. I'll try to create a support case, in case that would provide some answers. This discussion is buried under the "Alerts" section, and maybe it's not being read as much as the general Q&A. Maybe I'll create a new topic there.