observability

v2026.09.25

Use when adding logging to services, setting up monitoring, creating alerts, debugging production issues, designing SLIs/SLOs, or implementing structured logging (Pino, Winston), metrics (Prometheus, DataDog, CloudWatch), or distributed tracing (OpenTelemetry).

GitHub
安装命令
npx skhub add srstomp/observability
Markdown
SKILL.md

Observability

Implement the three pillars of observability: logs, metrics, and traces.

The Three Pillars

PillarPurposeKey Question
LogsDiscrete events with contextWhat happened?
MetricsAggregated measurementsHow much/many?
TracesRequest flow across servicesWhere did time go?

Quick Pick

  • Debug specific request? → Logs + Traces
  • Alert on thresholds? → Metrics
  • Understand system health? → All three
  • Starting from zero? → Logs first, then metrics, then traces

Key Principles

  • Use structured logging (JSON) with correlation IDs across all services
  • Instrument the four golden signals: latency, traffic, errors, saturation
  • Define SLIs/SLOs before building dashboards or alerts
  • Alert on symptoms (user impact), not causes (CPU usage)

Quick Start Checklist

  1. Set up structured logger (Pino recommended for Node.js)
  2. Add request correlation IDs (middleware)
  3. Instrument key metrics (RED: Rate, Errors, Duration)
  4. Configure distributed tracing (OpenTelemetry)
  5. Create dashboards for golden signals
  6. Set up alerts with appropriate severity levels

References

ReferenceDescription
logging-patterns.mdStructured logging, log levels, Pino/Winston setup
metrics-guide.mdPrometheus, counters/gauges/histograms, golden signals
tracing-basics.mdOpenTelemetry, distributed tracing, span design
alerting-guide.mdAlert design, SLIs/SLOs, severity levels, dashboards
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.25

发布时间

Sep 25, 2026

分类

未分类

许可证

MIT

源路径

plugins/pokayokay/skills/observability

默认分支

master

最新提交

ef6a34d

Tree SHA

7e3eba3