cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Alerting for failed distributed traces

Peter_Youssef
Mentor

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.

6 REPLIES 6

Peter_Youssef
Mentor

I've created it through creating a custom metric then create a custom events for alerting.

It's very interesting, Thanks.
If there any extra methods to configure it, please share it with me.

AurelienGravier
DynaMight Champion
DynaMight Champion

Hello @Peter_Youssef 

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 :

AurelienGravier_0-1672779989116.png

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 :

AurelienGravier_1-1672780828959.png

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% :

AurelienGravier_2-1672781000478.png


Regards Aurelien.

Observability consultant - Dynatrace Associate/Pro/Services certified

after these steps, I've created problem alerting profile and it works perfectly now.

Thanks @AurelienGravier, It worked fine.

AurelienGravier
DynaMight Champion
DynaMight Champion

hello, @Peter_Youssef 

Did you try the solution ?

 

Observability consultant - Dynatrace Associate/Pro/Services certified

Tested ,Thanks for guidance @AurelienGravier 

Featured Posts