I need to create an alert for the failed distributed traces for this service as attached below
I've specified the failed only and the amount of time it exceeds to be alerted on.
appreciate your support and guidance.
Solved! Go to Solution.
The best way for me :
1- Create a request naming rule on the service settings to group all your traces on the same request (request naming rules help to adjust how your requests are tracked). example of naming rule for your use case :
2- It takes a while for newly added key requests to show on the top request list, the new request will appear on your service, opening it and mark it as key request. It will help to apply different thresholds for this specific request.
3- Go on the services settings on the menu, anomaly detection and you will be able to specify a custom threshold for this key request to detect anomalies on error rate for example :
For example, this configuration will generate a problem when the error rate on the request "/b2b/trnprocessor/identifiers/no-id/sales-ext" will exceed 5% :