07 Jun 2017 03:09 PM - last edited on 29 Aug 2024 10:30 AM by MaciejNeumann
I have an application with nicely gives a warning page if something is wrong. As an example when the database is full the application gives a nice error page with a 200 ok.
It would be nice if this was recognized by oneAgent
Henk
Solved! Go to Solution.
07 Jun 2017 03:26 PM
Hi Henk,
one possibility to catch this is to create a web check with content validation. If the error page shows up, the web check would fail and a problem is generated. You can find more details how to configure the content validation here: https://help.dynatrace.com/user-experience-monitor...
Kind regards, Philipp
07 Jun 2017 03:34 PM
Hi Philipp,
Great tip thx, unfortunately in this situation we do not have internet access, so I think no web checks in this environment (yet)
KR Henk
29 Sep 2022 12:06 PM
Private Synthetic would be the best option I guess. Webchecks from within your own perimeter.
(Writing) an extension might be another.
Actually I have a similar question, but then in regard to RUM.
According to this article pages with 200 ok and an application specific error message can not be captured within RUM
Can RUM JS capture or identify a custom error on a xhr request - Dynatrace Community
In another article there is talk of custom error/string detection captured from the users session via a string detection.
Solved: Form Validation Error Tracking - Dynatrace Community
29 Sep 2022 12:54 PM
We faced with the same problem.
Decided to go with custom action for error event + action property as error message (this is for RUM)
For server side if exception raised - you will able to filter 200OK by exception type (this is applicable for proxies and gateways that raised errors in body with 200OK response)