monitoring-error-rates
Monitor and analyze application error rates to improve reliability. Use when tracking errors in applications including HTTP errors, exceptions, and database issues. Trigger with phrases like "monitor error rates", "track application errors", or "analyze error patterns".
- License 许可
- MIT
- 最近更新
- 2026-05-26
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- monitoring-error-rates
- author
- Jeremy Longshore <jeremy@intentsolutions.io>
- license
- MIT
- version
- 1.0.0
- description
- Monitor and analyze application error rates to improve reliability. Use when tracking errors in applications including HTTP errors, exceptions, and database issues. Trigger with phrases like "monitor error rates", "track application errors", or "analyze error patterns".
- allowed-tools
- Read, Bash(monitoring:*), Bash(metrics:*), Bash(logs:*), Grep, Glob
- compatible-with
- claude-code, codex, openclaw
02 资源文件 5
- 资产文件assets/README.md58 B
- 参考文档references/README.md62 B
- 脚本scripts/analyze_errors.py4.7 KB
- 脚本scripts/generate_error_report.py3.6 KB
- 脚本scripts/README.md456 B
03 SKILL.md 正文
Error Rate Monitor
Monitor and analyze application error rates across HTTP endpoints, database queries, external APIs, and background jobs with threshold-based alerting and error budget tracking.
Overview
This skill automates the process of setting up comprehensive error monitoring and alerting for various components of an application. It helps identify, track, and analyze different types of errors, enabling proactive identification and resolution of issues before they impact users.
How It Works
- Analyze Error Sources: Identifies potential error sources within the application architecture, including HTTP endpoints, database queries, external APIs, background jobs, and client-side code.
- Define Monitoring Criteria: Establishes specific error types and thresholds for each source, such as HTTP status codes (4xx, 5xx), exception types, query timeouts, and API response failures.
- Configure Alerting: Sets up alerts to trigger when error rates exceed defined thresholds, notifying relevant teams or individuals for investigation and remediation.
When to Use This Skill
This skill activates when you need to:
- Set up error monitoring for a new application.
- Analyze existing error rates and identify areas for improvement.
- Configure alerts to be notified of critical errors in real-time.
- Establish error budgets and track progress towards reliability goals.
Examples
Example 1: Setting up Error Monitoring for a Web Application
User request: "Monitor errors in my web application, especially 500 errors and database connection issues."
The skill will:
- Analyze the web application's architecture to identify potential error sources (e.g., HTTP endpoints, database connections).
- Configure monitoring for 500 errors and database connection failures, setting appropriate thresholds and alerts.
Example 2: Analyzing Error Rates in a Background Job Processor
User request: "Analyze error rates for my background job processor. I'm seeing a lot of failed jobs."
The skill will:
- Focus on the background job processor and identify the types of errors occurring (e.g., task failures, timeouts, resource exhaustion).
- Analyze the frequency and patterns of these errors to identify potential root causes.
Best Practices
- Granularity: Monitor errors at a granular level to identify specific problem areas.
- Thresholding: Set appropriate alert thresholds to avoid alert fatigue and focus on critical issues.
- Context: Include relevant context in error messages and alerts to facilitate troubleshooting.
Integration
This skill can be integrated with other monitoring and alerting tools, such as Prometheus, Grafana, and PagerDuty, to provide a comprehensive view of application health and performance. It can also be used in conjunction with incident management tools to streamline incident response workflows.
Prerequisites
- Access to application logs and metrics
- Monitoring infrastructure (Prometheus, Grafana, or similar)
- Read permissions for log files in ${CLAUDE_SKILL_DIR}/logs/
- Network access to monitoring endpoints
Instructions
- Identify error sources by analyzing application architecture
- Define error types and monitoring thresholds
- Configure alerting rules with appropriate severity levels
- Set up dashboards for error rate visualization
- Establish notification channels for critical errors
- Document error baselines and SLO targets
Output
- Error rate metrics and trends
- Alert configurations for critical thresholds
- Dashboard definitions for error monitoring
- Reports on error patterns and root causes
- Recommendations for error reduction strategies
Error Handling
If monitoring setup fails:
- Verify log file permissions and paths
- Check monitoring service connectivity
- Validate metric export configurations
- Review alert rule syntax
- Ensure notification channels are configured
Resources
- Monitoring platform documentation (Prometheus, Grafana)
- Application log format specifications
- Error taxonomy and classification guides
- SLO/SLI definition best practices
04 同仓库更多 Skills
zustand-store-ts
Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.
zustand-store-creator
Zustand Store Creator - Auto-activating skill for Frontend Development. Triggers on: zustand store creator, zustand store creator Part of the Frontend Development skill category.
zero-trust-config-helper
Zero Trust Config Helper - Auto-activating skill for Security Advanced. Triggers on: zero trust config helper, zero trust config helper Part of the Security Advanced skill category.
zapier-integration-helper
Zapier Integration Helper - Auto-activating skill for Business Automation. Triggers on: zapier integration helper, zapier integration helper Part of the Business Automation skill category.
zai-cli
Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP. Use when user needs image/video analysis, OCR, UI-to-code conversion, error diagnosis, real-time web search, web page to markdown extraction, or GitHub code exploration. Trigger with phrases like "analyze this image", "search the web for", "read this page", "explore this repo", or "use zai". Requires Z_AI_API_KEY.
yt-research
Research competitor YouTube channels, niches, and trending topics for your content strategy. Use this skill whenever the user says "research channels", "analyze competitors", "find trending topics", "niche analysis", "competitive research", "what are other creators doing", "scrape YouTube channels", or wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.