Every request Panaptic handles is traced, and every log line carries the id of the trace it belongs to. You do not need a separate monitoring tool to see them: the agent can look them up for you, and administrators have a Run Metrics app that shows how long each turn of a run took and what it cost.
This page covers both:
- Asking the agent for the trace and logs behind a run.
- Reading a run’s turn-by-turn metrics in the Run Metrics app.
What is recorded
- A trace is the record of one request as it passed through the platform. It is made up of steps, one for each operation the request called, and each step has a start time, a duration and a status of ok or error. A failing step carries the exception that failed it.
- A log line is one message written by the platform while it worked. Every log line carries its trace id, so a log line leads to the trace that produced it.
- Both are scoped to your organisation. Nothing from another tenant is ever returned.
- Both are kept for 30 days.
Part 1 - Ask the agent for a trace
The agent reaches for the trace and log tools only when you ask it to. When an operation fails, it reads the operation’s own error message first, because that usually says what went wrong. It never queries them on its own.
-
Pick the run
The agent looks at the run it is working in unless you tell it otherwise. Ask in the Task Run you want to investigate, or give the agent the run’s id.
-
Ask for the trace
Name the connection,
sysObservability, so the agent knows you want the trace and not its own account of what happened:Use sysObservability to show the trace for this run.The agent searches for the run’s traces, then opens the one you need and reports what it found. Follow-up questions work the same way:
Use sysObservability to show the warnings and errors logged for this run in the last 30 minutes.Use sysObservability to show which operations in this run took longer than two seconds.Use sysObservability to list the errors across the organisation in the last hour, grouped by message. -
Read the result
The agent summarises the finding in a sentence or two - for example, that an operation hit a timeout talking to an external service - and proposes a fix. Ask for the detail you need: the full list of steps with their durations, the exception on the failing step, or the log lines around it.
The agent’s search covers only the last 60 minutes. For an older trace, give the agent the trace id if you have one from an earlier answer or a log line, and it can open that trace directly. Otherwise ask Panaptic to retrieve it for you. Any trace from the last 30 days can be retrieved, but this takes longer than asking the agent.
What the agent can look up
| Operation | What it returns | Use it to answer |
|---|---|---|
| queryRunTraces | A list of matching traces, with the start time, duration, status and step count of each. | “Show me the traces for this run”, “which runs failed”, “which operations were slow”. |
| getTraceDetail | One trace as a tree of steps, each with its timing, status and any exception. | “What happened inside this request”, “where did the time go”. |
| queryRunLogs | Log lines for a run, filtered by severity or by text. | “What was logged when this failed”, “show me the warnings”. |
| queryRecentErrors | Errors across the organisation, grouped by message pattern with a count for each. | “Is this failing for everyone”, “how often has this happened”. |
Limits
- A search covers at most the last 60 minutes, and the agent cannot widen it. A trace you have the id for can be opened at any time within the 30 days it is kept. For an older trace without an id, ask Panaptic.
- A search returns at most 20 traces or 50 log lines, and a trace is shown with at most 200 steps.
- Each organisation can run 30 observability queries an hour.
- Log lines are cut at 2 KB.
The agent cannot raise these limits.
Part 2 - The Run Metrics app
The Run Metrics app shows, for one Task Run, how long each turn took and what it cost. A turn is one message you send and everything the agent does in response, until it is idle again.
-
Open the app
From your main user session, open the Launch view, find Utilities and launch Run Metrics. You can also ask the agent:
Open the Run Metrics app.The app opens on the run you launched it from.
-
Choose a run
To look at a different run, paste its id into the Task run box and click Load. You can read your own runs, runs shared with you and runs visible to the whole organisation. Another member’s private run is not shown, even to an administrator.
-
Read the figures
The header shows the run’s id, its status, and the AI provider and model it ran on, followed by four totals: the number of turns, the elapsed time across all turns, the tokens used and the cost charged.
Below that is one row per turn:
Column Meaning Turn The turn’s number in the run. Started When the platform received your message. Elapsed From that moment until the agent went idle. Hover over it to see how long the message waited behind the previous turn. Iterations How many times the agent went round its loop of thinking and calling operations. LLM calls How many calls were made to the AI model. Tokens The tokens those calls used. Cost What the usage ledger charged for the turn, in USD. Click Refresh to re-read a run that is still going.