Sentry Instrumentation Guide

Decide which Sentry signal to reach for when instrumenting code — error, span, span attribute, log, or metric. Use when adding instrumentation and unsure whether something should be a log vs a span vs a metric, when deciding "what to instrument where", when reviewing instrumentation for gaps, or when a coding agent needs a rule for choosing between errors, traces, logs, and metrics. This skill decides WHAT to emit; the sentry-*-sdk skills handle HOW to set each pillar up.

Sentry Updated 845 repo stars

File contents

getsentry/sentry-for-ai/tree/main/skills-legacy/sentry-instrumentation-guide commit c9705f1cb0

Frequently asked questions

npx skillmds@latest add getsentry/sentry-instrumentation-guide