[Enhancement]: Show recent agent failure occurrences in Insights
What features would you like to see added?
As a follow-up to #16356, it would be helpful for agent owners/admins to see recent failure occurrences for an agent in the Insights/statistics view.
The existing proposal covers aggregate failure metrics such as failed or interrupted responses. This request is about adding lightweight recent-failure visibility so owners can quickly understand whether an agent has started having problems recently.
Business Requirements
Agent owners/admins should be able to see recent failure occurrences for an agent, for example:
- when recent failures happened
- how many failures occurred recently
- whether failures are increasing over time
- basic failure status/type, where available
This should help answer operational questions such as:
- “Did this agent start failing today?”
- “Was there a spike in failures after a change?”
- “Is this agent currently healthy?”
- “Do users experience repeated issues with this agent?”
Privacy Requirements
This view should remain privacy-conscious and should not expose user-specific conversation data by default.
Recent failure information should not include:
- user prompts or message content
- exception text by default
- conversation IDs
- user identities
The goal is operational visibility for the agent owner, not conversation inspection.
Relationship to Existing Insights Work
This request complements #16356.
#16356 covers extending Insights with aggregate agent statistics such as conversations, responses, feedback, token usage, token cost, and failed/interrupted response counts.
This issue adds the missing operational view of recent agent failure occurrences, using the same privacy principles and access model.
Which components are impacted by your request?
No response
Pictures
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Source: danny-avila/LibreChat