23 Feb 2023 07:09 AM - last edited on 27 Feb 2023 08:02 AM by MaciejNeumann
Hello Everyone. I am trying to tweak a few alerts on my side.
I usually get alerts on problems for Response time Degradation or high failure rate.
For example
/api/v1/ABC/MAC1 - Failed
/api/v1/ABC/MAC2 - Success
/api/v1/ABC/MAC3 - Success
/api/v1/ABC/MAC4 - Success
This would trigger an alert if MAC1 failed.
Is it possible to tweak the alert to Monitor /api/v1/ABC/ so i get an alert if 100% transactions failed and not just one MAC.
Solved! Go to Solution.
23 Feb 2023 09:55 AM
Hi,
You will have to create custom calculated metrics under server-side monitoring tab in settings page. And, in the condition you can provide the same.
Doc: Calculated metrics for services | Dynatrace Docs
25 Feb 2023 09:33 AM
Hi,
Are the calls running in the same service? You can then also try merging the requests by designing a request naming rule that takes out the last /MAC* part in the URL. This will merge the requests. Making it a key requests allows you to create your own anomaly detection on the new requests, therefore the possibility to keep track of a seperate baseline.
This ensure you'll get an alert of a failure rate increase of all the requests. If the last part is important you'll need to put the /MAC1-4 in a request attribute so performance per requests is still visible using request filters.
KR,
Michiel