Skip to main content

Setup

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.

Triggered Alerts

Once an alert is triggered, you will be notified in the Destinations that you configured for the alert, and it will also appear in the Triggered section: Triggered Alerts Summaries Light You can then click into a triggered alert to view more details about the alert.

Error Alert Detail

For triggered error alerts, you can view the alert Volume Over Time, the Tags Involved to understand which users, customers, orders, or other business entities were affected, and the Failing Transactions that triggered the alert. Triggered Error Alert Detail One Light

Triggered Error Alert Detail Two Light

Metric Alert Detail

For triggered metric alerts, you can view the alert Volume Over Time, the Tags Involved to understand which users, customers, orders, or other business entities were affected, and the Contributing Transactions that led to the metric threshold being exceeded. Triggered Metric Alert Detail One Light

Triggered Metric Alert Detail Two Light