Prompt LibraryAgents
Agent Observability Dashboard Spec Prompt
Specify the metrics and logs an agent must emit.
The prompt
Specify the observability setup for the agent below.
Metrics (with units): success rate, p50/p95 latency, cost per run, tool-call error rate, loops-to-completion.
Logs: every tool call (input hash, output hash, latency, status), every replan (trigger reason), every escalation.
Traces: a run-level trace ID linking all calls.
Then state the single alert that would wake someone at 3am and the one that should NOT.
Agent: {{agent}}Replace the {{fields}} with your own context and tighten the rules to match your domain.



