observability

Implement structured logging, distributed tracing, metrics, and SLO-based alerting for production systems.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/JenilRevaliya/ARGUS --skill observability-jenilrevaliya
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: observability
Source: https://github.com/JenilRevaliya/ARGUS/tree/main/.agent/skills/observability
Command: npx skills add https://github.com/JenilRevaliya/ARGUS --skill observability-jenilrevaliya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pino, @opentelemetry/sdk-node, @opentelemetry/auto-instrumentations-node, @opentelemetry/exporter-trace-otlp-http, @opentelemetry/api.

What problem does it solve? Production systems fail silently when teams rely on unstructured console logs and guesswork. This Skill provides concrete patterns for making distributed systems observable so you can debug incidents, measure reliability, and alert on real symptoms instead of noise. ## Core Features & Use Cases - Structured Logging: Set up Pino/Winston JSON logging with severity levels, request correlation via AsyncLocalStorage, and PII/secret redaction rules. - Distributed Tracing & Metrics: Instrument services with OpenTelemetry auto-instrumentation, custom spans, and RED/USE metrics (counters, histograms, gauges). - SLOs, Health Checks & Alerting: Define SLIs/SLOs with error budgets, separate liveness from readiness probes, and design actionable symptom-based alerts. - Use Case: Your Node.js API is experiencing intermittent latency spikes. Use this Skill to add OpenTelemetry tracing across HTTP, Express, PostgreSQL, and Redis, then build P95 latency dashboards and an error-budget-based alert policy. ## Quick Start Set up OpenTelemetry tracing and structured Pino logging with request correlation for my Express API.

Frequently Asked Questions about observability

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

FAQPage Schema
How do I set up structured logging in Node.js?▼

Use Pino with JSON output, ISO timestamps, and severity levels instead of console.log. Attach contextual fields like userId and requestId to every log entry so entries can be searched and filtered by log aggregators.

How to add distributed tracing with OpenTelemetry?▼

Initialize the OpenTelemetry NodeSDK with an OTLP trace exporter and auto-instrumentations for HTTP, Express, PostgreSQL, and Redis. Add manual spans around custom business logic with attributes and exception recording.

What is the difference between liveness and readiness probes?▼

Liveness checks only whether the process is running and triggers container restarts on failure. Readiness checks dependencies like databases and stops traffic routing on failure. Checking the database in liveness causes cascading restarts during outages.

How do SLIs, SLOs, and error budgets work together?▼

An SLI measures actual performance, an SLO sets the target, and the error budget is 100% minus the SLO. For a 99.9% SLO, the budget allows about 43 minutes of downtime monthly; burning it too fast should freeze deployments.

Why is console.log not suitable for production logging?▼

console.log lacks severity levels, structured fields, and ISO timestamps, making logs unsearchable by aggregators. Production logging requires libraries like Pino for Node.js or structlog for Python with structured JSON output.

What metrics should I track for a web service?▼

Use the RED method: request rate, error rate, and duration percentiles like P50, P95, and P99. For underlying resources, apply the USE method covering utilization, saturation, and errors, plus business metrics like orders per minute.