In Trace0, you can set alerts for both errors and metrics thresholds. To create a new alert, head to the Alerts section and click the Add New Alert button: Alerts Light You can then select the service the alert applies to, then choose an alert type — Error Alert or Metric Alert.

Error Alerts

For error alerts, the frequency is automatically set to Every Event, meaning you will receive an alert each time a request to your service fails. You can then set a Destination — Slack, Email, or both.
  • If you select Email, enter the email address you want to receive alert notifications.
  • If you select Slack, enter the Webhook URL for the channel you want to receive alert notifications.
Alerts Light

Metric Alerts

For Metric Alerts, you first select the Metric Type — Request Latency, Error Rate or Max Memory Used. Each type is explained in further detail below:
For Request Latency alerts, you can set the following parameters:
  • Latency Percentile — P99, P95, P90, P75, P50
  • Condition — Greater than, Greater than or equals, Less than, Less than or equals, Equals
  • Threshold — A number in either milliseconds or seconds
  • In The Last (minutes) — A number in minutes Alerts Light
Finally, you can set a Destination — Slack, Email, or both.
  • If you select Email, enter the email address you want to receive alert notifications.
  • If you select Slack, enter the Webhook URL for the channel you want to receive alert notifications.