Backend Conventions

Sentry backend conventions for logging, tracing/spans, span/tag attribute naming, metrics tags, and the options system. Use when adding or editing Python in src/ that logs (logger.info/exception), records metrics (metrics.incr/timing with tags), instruments spans/transactions, calls sentry_sdk.set_tag/set_attribute or set_span_tag/set_span_data, or reads registered options with options.get(). Trigger on "add logging", "log an error", "add a metric", "add a span", "instrument tracing", "set an attribute", "add a tag", "read an option", "LOG005", "LOG011", or metrics tag cardinality questions.

tuyv Updated

File contents

tuyv/ccpm/tree/main/preset-registry/skills/getsentry-sentry-backend-conventions commit 1c70b6de4e

Frequently asked questions

npx skillmds@latest add tuyv/backend-conventions