Install
openclaw skills install error-monitoring-agentError monitoring and alerting for AI agents. Detect, track, and resolve errors in real-time. Triggers: error monitoring, error tracking, alerting, exception handling, error analysis.
openclaw skills install error-monitoring-agentReal-time error monitoring and alerting for AI agents. Detect, track, analyze, and resolve errors automatically.
A comprehensive error monitoring system that helps agents detect exceptions in real-time, track error patterns, set up intelligent alerts, and automate resolution workflows.
node monitor.js watch --source logs,api,workers --threshold 5/min
node monitor.js watch --pattern "UnhandledPromiseRejection|ENOTFOUND"
Monitors multiple sources for errors with configurable thresholds and pattern matching.
node monitor.js aggregate --group-by stacktrace --min-similarity 0.85
node monitor.js aggregate --time-window 1h --top 20
Groups similar errors together to reduce noise and identify patterns.
node monitor.js alert --rule "error_rate > 10/min" --channel slack
node monitor.js alert --rule "new_error_type" --channel pagerduty --severity critical
node monitor.js alert --rule "error_spike > 3x_baseline" --channel email
Configurable alerting with rate thresholds, new error detection, and spike monitoring.
node monitor.js analyze --error-id err_abc123 --depth 5
node monitor.js analyze --correlate deploy-log,config-change
Traces error chains, correlates with deployments and config changes.
node monitor.js auto-resolve --strategy restart,retry,rollback
node monitor.js auto-resolve --known-fixes db --apply-approved
Automatically resolves known error patterns with approved remediation strategies.
{
"monitoring": {
"sources": ["application", "infrastructure", "api"],
"sampling": 1.0,
"retention": "30d",
"alertRules": [
{ "condition": "error_rate > 10/min", "action": "page-oncall" },
{ "condition": "new_error_type", "action": "notify-channel" },
{ "condition": "error_spike > 3x", "action": "auto-investigate" }
],
"autoResolve": {
"enabled": true,
"approvedStrategies": ["restart-service", "retry-request", "rollback-deploy"]
}
}
}