Slow Run Alert
Get alerted when an AI agent's runs take longer than they should. Slow Run Alert watches trace duration over a window and opens a violation when it passes your limit.
After Run(Detective)Checked after the trace lands, so it records and alerts
An agent that answered in two seconds last week now takes ten. Nobody filed a ticket, but users noticed. Slow Run Alert watches how long runs take and tells you when they get slow.
Runs On
After traces land, on an Hourly, Daily, or Weekly window
You Set
A duration limit in milliseconds, how durations are combined (P95 by default), and how often to check.
Your Agent Sends
Nothing extra. Normal tracing is enough.
The template starts at P95 of execution time above 5000 ms, checked Hourly, with Warning severity. You can change every value.
What Happens
| What Traccia sees | Result |
|---|---|
| The window is at or under your limit | No violation. |
| The window goes over your limit | A violation opens. With Warn or Block, the next governed run is warned or stopped. |
| It drops back under the limit in the same window | The violation resolves on its own (Auto Resolved). |
This runs after the trace is accepted, so the run that triggered it is never undone. Observe records the violation. Warn also warns the next governed run. Block stops the next governed run. Ingest never rejects a trace because of a policy.
Set It Up
- In the app, open Policies and click Create Policy.
- Choose Slow Run Alert under After Run.
- Give the policy a name and pick its scope: the organization, a workspace, or one Agent ID.
- Leave Metric on Execution Time. Pick an Aggregation: P95 or P99 catch the slow tail without being thrown off by one outlier, Avg shows the typical run, and Max flags the single slowest one. Set the Threshold in milliseconds and the Frequency.
- Pick a mode. Observe only records. Warn and Block act on the next governed run.
- Turn on Email Alerts if you want mail when a violation opens.
- On Review, run Simulate Last 7 Days to see how often it would have matched, then click Activate Policy.
Good To Know
- P95 means 95 percent of runs finished faster than the limit. Use it when you care about most users, not just the average.
- Slow Run Alert looks back at finished traces. It cannot cut off a run that is still going.
- A very long agent task will trip this policy by design. Scope the policy to the agents that should be fast.
Where You See Results
Open the policy's Violations tab for what needs attention and Decision Log for every check. See Violations for the full lifecycle.
Next Steps
© 2026 Traccia.