Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/monitoring-error-rates

@0d57af8
Run it yourself

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".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/monitoring-error-rates

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈74 tokens for metadata: the name and description. ≈1k when used: this file. ≈144 more on demand in 3 files.

Description uses 3.7% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈295 characters, or 3.7%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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

  1. Analyze Error Sources: Identifies potential error sources within the application architecture, including HTTP endpoints, database queries, external APIs, background jobs, and client-side code.
  2. 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.
  3. 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:

  1. Analyze the web application's architecture to identify potential error sources (e.g., HTTP endpoints, database connections).
  2. 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:

  1. Focus on the background job processor and identify the types of errors occurring (e.g., task failures, timeouts, resource exhaustion).
  2. 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

  1. Identify error sources by analyzing application architecture
  2. Define error types and monitoring thresholds
  3. Configure alerting rules with appropriate severity levels
  4. Set up dashboards for error rate visualization
  5. Establish notification channels for critical errors
  6. 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

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo3 checks · Risk MEDIUM
  • Gen Agent Trust Hub2mo

    The skill facilitates error monitoring but contains a utility for generating and making shell scripts executable. It also processes external application logs, which could allow malicious instructions in those logs to influence the agent's behavior.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
What it can do
Reads files Runs commands
version
1.22.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "performance",
  "database",
  "monitoring"
]
All 6 allowed tools
ReadBash(monitoring:*)Bash(metrics:*)Bash(logs:*)GrepGlob
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/monitoring-error-rates