Skip to content
Skills Library
DevOps & cloud · Learning & explanation

observability

/observability

Discipline for making a service's health answerable without reading its code, structured logging, the four golden signals (latency, errors, traffic, saturation), and an SLI/SLO/error-budget definition with alerts that link a runbook. Use when adding logging to a service, instrumenting metrics or tracing, defining what "healthy" means for a service, setting up alerts, or when the user asks how to monitor, debug in production, or know if something is broken.

Repository
doctrine ↗
Licence
MIT
Last repository change
11.09.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 11.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Discipline for making a service's health answerable without reading its code, structured logging, the four golden signals (latency, errors, traffic, saturation), and an SLI/SLO/error-budget definition with alerts that link a runbook. Use when adding logging to a service, instrumenting metrics or tracing, defining what "healthy" means for a service, setting up alerts, or when the user asks how to monitor, debug in production, or know if something is broken.

Triggers from the description

healthy
Original author description

Discipline for making a service's health answerable without reading its code, structured logging, the four golden signals (latency, errors, traffic, saturation), and an SLI/SLO/error-budget definition with alerts that link a runbook. Use when adding logging to a service, instrumenting metrics or tracing, defining what "healthy" means for a service, setting up alerts, or when the user asks how to monitor, debug in production, or know if something is broken.

How it works

  1. Phase 1: Structured logging
  2. Phase 2: The four golden signals
  3. Phase 3: SLI, SLO, error budget
  4. Phase 4: Alerting and runbooks
  5. Done when
Original SKILL.md headings · 47 lines, 731 words
SKILL.md preview
---
name: observability
description: Discipline for making a service's health answerable without reading its code, structured logging, the four golden signals (latency, errors, traffic, saturation), and an SLI/SLO/error-budget definition with alerts that link a runbook. Use when adding logging to a service, instrumenting metrics or tracing, defining what "healthy" means for a service, setting up alerts, or when the user asks how to monitor, debug in production, or know if something is broken.
---

# Observability

A service is not done until someone who has never read its code can answer "is it healthy right now" from its telemetry alone. That means structured logs that a platform can index and correlate, the four golden signals tracked per service, and an explicit SLO with an error budget, not "we'll notice if it breaks."

## Phase 1: Structured logging

- Every log line is a structured record (JSON or the platform's structured format), not a hand-built string; fields are queryable and indexable; a concatenated string is only greppable.
- Every log line inside a request/job carries a **correlation ID** (trace ID / request ID) so a slow request, its trace, and its log lines can be joined without copy-pasting timestamps.
- Log levels mean something consistent across the codebase: `error` = needs human attention, `warn` = degraded but self-recovering, `info` = significant state change (request completed, job started), `debug` = development-time detail, off by default in production.
- Never log a secret, full payload, or PII field directly; log its presence or a redacted/hashed form (same redaction discipline as `diagnosing-bugs` and `secure-coding`).
- Log the **outcome**, not just the attempt: "started X" without a matching "X succeeded / X failed (reason)" leaves a gap no dashboard can fill in later.

## Phase 2: The four golden signals

Every service exposes these four, regardless of what else it tracks:

| Signal | What it measures | Typical source |
|---|---|---|
| **Latency** | time to serve a request: track success and failure latency **separately**, a fast failure skews the average down and hides a real slowdown | request duration histogram |
| **Errors** | rate of failed requests (5xx, exceptions, failed jobs) | error counter / request outcome |
| **Traffic** | demand on the system (requests/sec, queue depth, jobs/min) | request or throughput counter |
| **Saturation** | how full the constrained resource is (CPU, memory, connection pool, queue length) | resource utilization gauge |

For an API or service boundary specifically, the same four collapse into the **RED method** (Rate, Errors, Duration) as the minimum viable dashboard for that endpoint.

## Phase 3: SLI, SLO, error budget

- **SLI** (Service Level Indicator): the specific, measurable signal: "proportion of requests completed in under 300ms", "proportion of requests returning non-5xx." Pick SLIs from Phase 2's signals; don't invent a new metric nobody dashboards.
- **SLO** (Service Level Objective): a target on that SLI over a window: "99.9% of requests succeed, measured over 30 days." The number is a product/business decision (how much unreliability users tolerate), not a technical maximum.
- **Error budget**: `1 − SLO` over the window. It is spent by every failure, deploy-caused or not. A team with budget left ships faster; a team that has burned its budget freezes risky changes until it recovers. This is what turns "reliability" from a vague goal into a concrete, checkable number that also unblocks shipping speed when things are healthy.
- If a service cannot state its SLI and SLO in one sentence, it is not ready to call itself monitored; "we have dashboards" is not the same as "we know what healthy means."

## Phase 4: Alerting and runbooks

- Alert on **symptom**, not cause: alert when the SLO is at risk (error budget burn rate, latency SLI breach) rather than on every underlying anomaly; cause-based alerts multiply noise and train people to ignore pages.
- Every alert that can page a human links a **runbook**: what this alert means, what to check first, what mitigates it, when to escalate. An alert with no runbook is a 3am guessing game.
- Tune alert thresholds against the error budget's burn rate, not a fixed absolute number picked once and forgotten; a slow burn over days and a fast burn over minutes are different incidents needing different urgency.

## Done when

- [ ] Logs are structured, correlated by request/trace ID, and carry no secret or raw PII.
- [ ] The service exposes latency (success/failure split), errors, traffic, and saturation.
- [ ] The service has a stated SLI and SLO, and the error budget is a number someone could quote.
- [ ] Every human-paging alert links a runbook, and thresholds are tied to error-budget burn rate, not an arbitrary constant.
- [ ] Generated prose uses commas, colons, periods, or reworded sentences instead of em dashes.
Files in this package (2)
  • SKILL.md 5 KB
  • agents/openai.yaml 1 KB

Versions

RepositoryScoreLicence
This page · aethrox/doctrine90MIT
maragudk/fabrik100MIT
matteocodogno/wellforge100MIT
iuliandita/skills100MIT
ctxpipe-ai/ctxpipe100MIT
rjmurillo/ai-agents100MIT
rjmurillo/ai-agents100MIT
wrongstack/wrongstack100MIT
nvidia/ai-factory-operations-agent100Apache-2.0

Database snapshot: 13.11.2026 · package version ab6e27bed7bc (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100monitoring-plan
    Use when the user needs observability for a service or feature: a monitoring plan, metrics, alerts, dashboards, SLOs, logging, or tracing.
  • 85resonance-ops-observability
    Observability Engineer. Makes a running system explainable from the outside: structured logs, metrics, distributed traces, SLOs, and actionable alerts. Use when adding logging or metrics, instrumenting with OpenTelemetry, defining the Four Golden Signals, designing SLIs/SLOs and…
  • 100ops
    Post-deploy observability for production services — structured logging, RED metrics + Prometheus, Grafana dashboards, SLO-based alerting. Use when setting up monitoring or instrumenting a live service. Trigger on "add logging", "metrics", "dashboard", "alerting",…
  • 100observability-slo
    Lightweight observability and SLO practice—SLIs, SLO targets, error budgets, logs, metrics, traces, and alerting for apps and data pipelines. Use when defining monitoring, on-call alerts, or reliability targets. Triggers: "SLO", "SLI", "observability", "alerting", "error budget", "monitoring".
  • 95slo
    Guide SLI selection, SLO setting, and Error Budget management. Use when: defining service quality targets, setting up SLO-based alerting, Error Budget policy. Not for: instrumentation and metric collection — use /observability; responding to an active breach of the target — use…
  • 100observability-designer
    Design production-ready observability strategies combining metrics, logs, and traces. Includes SLI/SLO design, golden-signals monitoring, alert optimization. Use when adding observability to a new service, refactoring alerting that is too noisy, or designing an SLO program…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.