Instrumentation

Add telemetry to a service so the next incident is diagnosable: start from the questions you will need answered at 3am, choose a metric, a span or a log per question, instrument with OpenTelemetry and the semantic conventions, keep high-cardinality identity off metric labels and on spans, propagate trace context across queues, batch jobs and thread pools, and set sampling and retention that keep the interesting traces. Use this skill whenever someone is adding metrics, spans, structured logging or OpenTelemetry to a service at design time, or asks what a new service should emit or what to add after an incident showed a gap, such as "we could not tell which customer was affected" or "add a metric for this". Not for paging rules, live incidents, profiling a slow function (profiling), vendor choice, a live cardinality explosion or bill (cardinality-incident-response, log-volume-reduction) or a trace that breaks (broken-trace-hunt).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 02bddd9f9f

Frequently asked questions

npx get-skill add greenblacked/instrumentation