Self-hosted Version RequirementAccess to alerts requires Helm chart version 0.10.3 or later.
Overview
Effective observability in LLM applications requires proactive detection of failures, performance degradations, and regressions. LangSmith’s alerts feature helps identify critical issues such as:- API rate limit violations from model providers
- Latency increases for your application
- Application changes that affect feedback scores reflecting end-user experience
Configuring an alert
Step 1: Navigate To Create Alert
First navigate to the Tracing project that you would like to configure alerts for. Click the Alerts icon on the top right hand corner of the page to view existing alerts for that project and set up a new alert.Step 2: Select Metric Type

Metric Type | Description | Use Case |
---|---|---|
Errored Runs | Track runs with an error status | Monitors for failures in an application. |
Feedback Score | Measures the average feedback score | Track feedback from end users or online evaluation results to alert on regressions. |
Latency | Measures average run execution time | Tracks the latency of your application to alert on spikes and performance bottlenecks. |
llm
runs tagged with support_agent
that encounter a RateLimitExceeded
error.

Step 2: Define Alert Conditions
Alert conditions consist of several components:- Aggregation Method: Average, Percentage, or Count
- Comparison Operator:
>=
,<=
, or exceeds threshold - Threshold Value: Numerical value triggering the alert
- Aggregation Window: Time period for metric calculation (currently choose between 5 or 15 minutes)
- Feedback Key (Feedback Score alerts only): Specific feedback metric to monitor


Step 3: Configure Notification Channel
LangSmith supports the following notification channels: Select the appropriate channel to ensure notifications reach the responsible team members.Best Practices
- Adjust sensitivity based on application criticality
- Start with broader thresholds and refine based on observed patterns
- Ensure alert routing reaches appropriate on-call personnel