Overview
Monitors can be created to track a variety of metrics related to span properties, evaluations, and performance. You can:- Set up custom monitors tailored to your use case
- Use managed monitors to get started quickly with one-click setup
Monitor Types
-
Custom Monitors
-
Custom Metric - Use any metric you’ve defined on your project (e.g. cost, % hallucinated, etc.).
Example:
- Monitor if
% Hallucinatedgoes above 10% over the past hour.
- Monitor if
-
Span Property - Track properties of spans (requests) such as latency, unique user counts, or missing values.
Example:
- Alert if the
average latencyexceeds 500ms - Track if
% empty responseson the output attribute exceeds 5% - Monitor
cardinality of user_idsto detect anomalies in traffic
- Alert if the
-
Eval Monitor - Track the count or rate of failed evaluations, based on your defined eval fields (like correctness, hallucinations, etc.).
Example:
- Monitor if the number of evaluations where
label = incorrectexceeds a certain threshold
- Monitor if the number of evaluations where
-
Custom Metric - Use any metric you’ve defined on your project (e.g. cost, % hallucinated, etc.).
Example:
-
Managed Monitors
Managed monitors help you get started fast by offering out-of-the-box monitors for common metrics.
With just one click, you can enable monitors for:
- Latency – Track average latency of your spans
- Prompt Token Count – Monitor the size of your input prompts
- Total Token Count – Measure combined prompt + completion token usage
- Error Count – Alert when the number of failed or errored requests increases

Best Practices
- Use custom span property monitors to track application-specific issues like latency or cardinality.
- Leverage eval monitors to monitor model quality metrics based on your custom evaluations.
- Set thresholds based on historical patterns or business SLAs.
Example Use Cases
| Monitor Type | Use Case |
|---|---|
| Custom Metric | Alert if % Hallucinated exceeds 5% |
| Span Property | Detect spike in latency or missing values |
| Eval Monitor | Catch increase in incorrect application outputs |
| Managed Monitor | Stay informed on token usage and error counts |