apps/opik-documentation/documentation/fern/docs-v2/observability/diagnostics.mdx
Skimming traces for recurring failures doesn't scale once your agent is handling real traffic. Diagnostics scans your project's traces on a schedule, groups repeated failures into a single issue, and surfaces a root cause, a suggested fix, and the traces to prove it, so you catch problems before your users report them.
<Frame> </Frame>Diagnostics is powered by Ollie, so it doesn't rely on fixed rules or thresholds. It reads full traces the same way you would, looking for patterns like tool-call loops, malformed API calls, hallucinated outputs, or latency regressions.
The first time you open a project's Diagnostics page, you'll be prompted to turn it on. Once enabled, a scan kicks off immediately, and then runs automatically every day.
Each issue in the list shows its severity (critical, high, medium, or low), how many times
it's occurred, and when it was last seen, so you can sort and prioritize before opening any single
issue.
Opening an issue shows:
Once you've fixed the underlying problem, click Resolve on the issue. Resolved issues move to the Resolved issues page, where you can reopen them at any time if the pattern comes back.
Use the settings icon next to Run diagnostic to turn the daily automated scan on or off. This doesn't affect on-demand scans: you can still click Run diagnostic manually while automated scans are paused.
<Frame> </Frame>