One-click install
npx skills add https://github.com/ArieGoldkin/ai-agent-hub --skill observability-monitoring-ariegoldkin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: observability-monitoring
Source: https://github.com/ArieGoldkin/ai-agent-hub/tree/main/skills/observability-monitoring
Command: npx skills add https://github.com/ArieGoldkin/ai-agent-hub --skill observability-monitoring-ariegoldkin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Establishes a robust observability framework with structured logs, metrics, tracing, and alerting.

Core Features & Use Cases

  • Structured Logging: JSON logs with context.
  • Metrics & Dashboards: Red/green metrics; Prometheus integration.
  • Distributed Tracing: OpenTelemetry setup and usage.
  • Alerts & Health: Alerting rules and health checks.
  • Use Case: Diagnose a production incident by tracing a request across services.

Quick Start

Configure logging/metrics/tracing and set up a sample alert.

Frequently Asked Questions about observability-monitoring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement structured logging and metrics for production monitoring?

Structured logging with JSON output and metrics collection form the foundation of observability. Configure your application to emit JSON-formatted logs with contextual data, integrate Prometheus-compatible metrics to track rate, errors, and duration (RED metrics), and connect these to dashboards for real-time visibility into system behavior and performance.

What's the difference between logging, metrics, tracing, and alerting in observability?

Observability combines four complementary signals: structured logs capture discrete events with context, metrics measure system performance over time (requests per second, error rates, latency), distributed tracing tracks requests across multiple services to identify bottlenecks, and alerting rules trigger notifications when thresholds are breached, enabling proactive incident response.

How do I set up distributed tracing with OpenTelemetry?

OpenTelemetry provides standardized instrumentation to trace requests across distributed services. Configure OpenTelemetry SDKs in your backend services to capture request flow, export trace data to a collector, and visualize traces to correlate events across service boundaries—essential for diagnosing latency and failures in production incidents.

Can I use Prometheus metrics with my existing backend services?

Yes. Prometheus-compatible metrics are widely supported across backend frameworks and platforms. Expose metrics endpoints from your services, configure Prometheus scraping, and build dashboards to monitor RED metrics (rate, errors, duration). This integrates with your existing logging and tracing infrastructure for unified observability.

How do I debug a production incident using observability signals?

Correlate structured logs, metrics, and traces to trace a request through your system. Use logs to identify error context, metrics to spot performance degradation, and distributed traces to follow the request path across services. Health checks and alerting rules surface issues early; together these signals pinpoint root causes quickly.

What alerting rules should I configure for backend services?

Define alerting rules based on RED metrics: alert on error rate spikes, request latency thresholds, and throughput drops. Include health check failures and resource saturation (CPU, memory). Layer alerts by severity and route notifications to appropriate teams so incidents are addressed before user impact occurs.