Observability standards is an AI agent skill from the GitHub repository Goldziher/ai-rulez. Service observability: structured JSON logs, log levels, health endpoint wired to probes, counter/gauge/histogram choice, label cardinality, correlation IDs. Use when adding logs, metrics or health checks.
Claude Code: save it as .claude/skills/observability-standards/SKILL.md
Cursor: save it as .cursor/rules/observability-standards.md
Codex: save it as .agents/skills/observability-standards/SKILL.md
ChatGPT, Gemini and other assistants: paste it into custom or project instructions
Skill file
Structured logging: JSON output, key=value pairs — never string interpolation in log messages.
Log levels: ERROR (unrecoverable), WARN (degraded), INFO (state changes), DEBUG (flow), TRACE (off in prod).
Health endpoints: /health with component status, wired to orchestrator probes.
Metrics: counters for requests, gauges for connections, histograms for latency — no high-cardinality labels.
Propagate request/correlation IDs across service boundaries.
Use this skill with your AI agent:Open on Skill Issue to copy, download, or add to your library.
Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.