Observability and continuous optimisation
Session traces and reasoning visibility, quality and context-based scoring with editable and custom LLM-as-judge metrics, citations, analytics and health monitoring, Agent Optimizer, voice observability, and KPIs that measure real outcomes.
Simple explanation
Agentforce Observability (included for Agentforce customers β verify terms)
- Session traces: each step, subagent selection, action calls, errors, multi-agent hops.
- Citations shown inline with the retrieved chunk highlighted.
- Scores: quality and context-based session scores; editable prompts; custom LLM-as-judge metrics (tone, policy, product interest).
- Analytics and health monitoring: trends, failures, latency.
- Voice observability: audio quality issues without listening to every call.
Agent Optimizer (Dreamforce 2026; GA October 2026 β verify): an agent that reads production sessions, finds recurring failure patterns, ranks them by impact, and helps you build, test and stage fixes.
KPIs that matter
| KPI | Why |
|---|---|
| Resolution rate (verified) | Did the job get done? |
| Escalation rate and reasons | Where the agent struggles |
| Repeat contact | Hidden failures |
| Customer satisfaction | Experience |
| Cost per resolution | Economics |
| Latency | Especially voice |
Deflection alone is misleading: a "thank you" may count as deflected even if unresolved.
Real-world analogy
Observability is the flight data recorder plus a coach: it shows exactly what happened on every flight and points out the manoeuvres that keep going wrong.
Worked example
A service team saw a rising escalation rate. Traces showed the returns subagent failing when order numbers included spaces. The fix (normalising input in the action) was tested and deployed; escalations dropped, and a custom judge metric now tracks whether customers had to repeat their order number.
Diagram
Key points
- Traces show selection, actions, errors and hops.
- Scores and custom LLM-as-judge metrics measure quality.
- Agent Optimizer finds and ranks failure patterns.
- Measure resolution, repeat contact, satisfaction, cost, latency.
- Close the loop: observe β fix β test β deploy.
Limits and gotchas
- Observability data may contain personal data; apply retention and access controls.
- Judge metrics need calibration against human reviews.
- Without a test suite, fixes from observability can regress other behaviour.
π€ How to say this in an interview
Explain what you monitor and why deflection isn't enough, then a real improvement loop.
Common follow-ups
How do you calibrate an LLM-as-judge metric?
Compare its scores with human reviews on a sample, adjust the judging prompt and thresholds, and recheck periodically.
Who owns agent performance?
A named product owner with a regular review of metrics, failures and backlog, supported by admins and developers.