Skip to content
Back to skills

Observability And Instrumentation

ASecurity

Add or review logs, metrics, traces, and actionable alerts.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
ai-agentsrustbackend

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add jaydubya818/MissionControl --skill observability-and-instrumentation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Observability And Instrumentation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Observability And Instrumentation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jaydubya818-observability-and-instrumentation/badge)](https://www.skillsdirectory.com/skills/jaydubya818-observability-and-instrumentation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: observability-and-instrumentation
description: "Add or review logs, metrics, traces, and actionable alerts."
license: MIT
metadata:
  author: Addy Osmani and Skillz contributors
  source: addyosmani/agent-skills
  source-commit: 301b02b12bff98e4688e6984af6556802322bbde
  adaptation: curated-rewrite
  owner: software-factory
  risk: medium
  capabilities: addyosmani,observability-and-instrumentation
---

# Observability and instrumentation

Start with the operational question: what would an on-call engineer need to
distinguish success, failure, delay, and unknown outcomes? Add signals for those
questions using the existing telemetry stack. Do not install a new backend or
instrument every function by default.

## Choose signals deliberately

| Need | Signal |
| --- | --- |
| Explain one operation | Structured event with stable fields and bounded context. |
| Detect aggregate regressions | Counter or histogram with bounded label sets. |
| Locate delay across boundaries | Trace spans with propagated context. |
| Reconstruct a sensitive business action | Access-controlled audit record with the required retention. |

Operational logs are not a financial ledger or a substitute for durable audit
records. Sampling and dropped exports can make them incomplete.

## Instrument the boundaries

1. Give requests and background runs correlation identifiers. Validate and
   bound untrusted incoming identifiers or generate internal ones. Preserve
   context across asynchronous jobs and retries without treating caller-supplied
   context as authority or proof of identity.
2. Record the actual entry point, operation, outcome, duration, and classified
   error where useful. Distinguish scheduler, manual invocation, and replay.
   Name attempts separately from the overall business operation so retries do
   not inflate success totals or hide duplicate effects.
3. Allowlist fields. Redact credentials, cookies, tokens, payment details, and
   unnecessary personal data at emission and export. Do not log entire bodies,
   raw query strings, or exception objects without inspecting their content.
4. Use metrics for rate, errors, and duration; add utilization or backlog for
   constrained resources. Use histograms for latency distributions and inspect
   tail behavior. Counts and averages may supplement distributions.
5. Bound label cardinality: route templates, status classes, and known providers
   are suitable; request IDs, user IDs, raw URLs, and exception text are not.
   Check actual exporter series growth under representative inputs.
6. Trace the expensive or failure-prone boundaries. Use the installed SDK's
   current initialization and context-propagation requirements. Choose sampling
   and retention with cost and diagnostic coverage in mind; a sampled-out trace
   does not prove an operation never ran.

## Alert on actionable symptoms

Tie each alert to user impact or an explicit service objective, with an owner,
time window, minimum traffic where relevant, and a runbook. Include data
freshness or missing-telemetry signals so a broken exporter does not appear
healthy. Avoid inventing a universal failure percentage or observation window.

Draft alert rules locally when asked. Sending a test page, enabling monitoring,
changing retention, or creating recurring work requires the task's authority.

## Verify the telemetry

Exercise success, failure, retry, and timeout paths in an authorized test
environment. Read back emitted events, metric changes, and connected spans.
Check that redaction works and dimensions stay bounded. Simulate exporter loss
without letting diagnostics block the product indefinitely; durable audit
requirements may need a separate, fail-closed policy.

Show the operational questions and evidence that the signals answer them.
Report instrumentation that exists but has not been observed in its collector.

Files in this skill

  • LICENSE1 KB
  • SKILL.md3.8 KB
  • agents/openai.yaml242 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.