[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-sentry-sentry-instrument-logging":3,"mdc-53bj7x-key":33,"related-org-sentry-sentry-instrument-logging":1586,"related-repo-sentry-sentry-instrument-logging":1766},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":21,"repoUrl":22,"updatedAt":23,"license":24,"forks":25,"topics":26,"repo":28,"sourceUrl":31,"mdContent":32},"sentry-instrument-logging","instrument structured Sentry logs","Instruments structured Sentry logs in a new or existing application.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"sentry","Sentry","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fsentry.png","getsentry",[13,17,20],{"name":14,"slug":15,"type":16},"Observability","observability","tag",{"name":18,"slug":19,"type":16},"Logs","logs",{"name":9,"slug":8,"type":16},237,"https:\u002F\u002Fgithub.com\u002Fgetsentry\u002Fsentry-for-ai","2026-07-11T05:53:01.892037","Apache-2.0",30,[27],"tag-production",{"repoUrl":22,"stars":21,"forks":25,"topics":29,"description":30},[27],"Teach your AI coding assistant how to use Sentry - setup, debugging, alerts, and more","https:\u002F\u002Fgithub.com\u002Fgetsentry\u002Fsentry-for-ai\u002Ftree\u002FHEAD\u002Fskills-legacy\u002Fsentry-instrument-logging","---\nname: sentry-instrument-logging\ndescription: Instruments structured Sentry logs in a new or existing application.\nlicense: Apache-2.0\ncategory: feature-setup\nparent: sentry-feature-setup\ndisable-model-invocation: true\n---\n\n# Instrument Sentry Logging\n\nThis skill adds structured Sentry logs to an application following the guidance\nin [Instrumentation guidance](#instrumentation-guidance).\n\nThe goal is to provide a small set of high-value log messages that make\nproduction behavior easier to understand and debug.\n\nThe log messages added by this skill should also serve as clear, repeatable,\nexamples that users can follow when instrumenting the rest of their application.\n\n## Prerequisites\n\nThe repository should already have basic Sentry configuration.\n\nIf Sentry has not yet been configured, offer to set it up using the appropriate\n[skills](.\u002F).\n\n## Steps\n\n1. **Inventory every application in the repository.** Locate language\u002Fruntime\n   manifests (`composer.json`, `package.json`, `go.mod`, `Gemfile`,\n   `pyproject.toml`, `Cargo.toml`, …). Each manifest typically marks a\n   separately deployed application. Produce an explicit table and treat it as\n   the work list for the rest of this skill:\n\n   | App | Path | Language | Sentry SDK? | Logging abstraction | Status |\n   |-----|------|----------|-------------|---------------------|--------|\n\n   If the repo has more than ~2 apps, confirm scope with the user before\n   starting: which apps to instrument now, and at what depth.\n\n2. **Establish shared conventions once, up front** — before touching any app.\n   Decide on consistent attribute namespacing (e.g. `myapp.\u003Cdomain>.\u003Cfield>`),\n   event-name phrasing, and log levels, so logs from every language can be\n   searched and correlated together. Record these so each per-app pass follows\n   them. Note service boundaries that propagate trace headers\n   (baggage \u002F sentry-trace) — logs on both sides of such a call should share\n   attribute names so a single trace reads coherently across languages.\n\n3. **For each application in the inventory, complete the full pass below before\n   moving to the next**, updating its Status as you go\n   (`not started → configured → instrumented → verified`):\n\n   a. Read the corresponding language-specific skill in [skills](..\u002F) and\n      confirm Sentry logging is configured.\n   b. Determine the app's logging abstraction (Monolog\u002FPHP, slog\u002FGo,\n      Rails logger\u002FRuby, Pino or console\u002FJS). If Sentry supports it, configure\n      that integration; otherwise use Sentry's logging SDK directly.\n   c. Identify a small number of high-value log messages, prioritizing runtime\n      decisions, important algorithms, audit events, and context around\n      recoverable failures. Follow\n      [Valuable log entries to instrument](#valuable-log-entries-to-instrument).\n   d. Add structured logs following the shared conventions from Step 2 and the\n      [Instrumentation guidance](#instrumentation-guidance).\n   e. Verify: run the app's lint\u002Ftype\u002Ftest tooling if available, and confirm\n      logs are emitted. If the toolchain isn't available locally,\n      say so explicitly rather than implying it passed.\n\n4. **Apply a high-value log validation check.** Review every added or modified log line\n   and remove or revise any log that does not pass this check:\n\n   | Check | Question |\n   |-------|----------|\n   | Production question | What concrete production question does this log answer? |\n   | Signal | Would this still be useful if emitted hundreds or thousands of times? |\n   | Telemetry fit | Is this better represented as a trace, metric, or Sentry error? |\n   | Existing coverage | Is this already captured by an exception, existing log, or shared API\u002Fclient wrapper? |\n   | Structure | Are event names and attributes consistent with the shared conventions? |\n   | Safety | Does it avoid PII, secrets, raw payloads, and unstable exception messages? |\n   | Actionability | Would seeing this log change how someone investigates or responds? |\n\n   Prefer removing logs that merely confirm routine UI interactions, duplicate\n   generic API failures, or record expected validation failures without adding\n   meaningful context.\n\n   Keep logs that explain important runtime decisions, summarize multi-step\n   workflows, record important audit\u002Fbusiness events, or provide context around\n   recoverable failures.\n\n   For each remaining log, be able to write a one-sentence justification:\n   \"This log is valuable because it helps answer \u003Cspecific question>.\"\n\n5. **Reconcile against the inventory.** Confirm every in-scope app reached\n   `verified` (or was explicitly deferred). Report per-app status so partial\n   coverage is never mistaken for full coverage.\n\n## Instrumentation guidance\n\n### When to reach for logging, vs., other types of telemetry\n\nLogs are ideal for recording the context and decisions that explain what\nhappened during an application's execution.\n\n- For measuring the performance and flow of requests, use tracing.\n- For unexpected critical failures, use errors.\n\n### Valuable log entries to instrument\n\n#### Important runtime decisions made by your application\n\nThe decisions your application makes while serving a request are often the\nmissing context needed to explain production behaviour.\n\nExamples include:\n\n- A user has a feature flag enabled, resulting in a different code path.\n- Mobile users are redirected to a different experience.\n- Paid and free users receive different functionality.\n\nThis information can be useful both as a standalone log entry, for example when\na feature flag is evaluated, and as structured context included with later log\nmessages.\n\n#### Whether a feature or algorithm is behaving as expected\n\nLogs are useful when a feature performs multiple steps. By recording\nintermediate outcomes, you can understand where a process is breaking down and\nwhy.\n\nHere's an example from a site that allows users to import a logbook from another\nservice:\n\n```js\nSentry.logger.info(\"Aurora import started\", {\n  \"import.source\": \"aurora\",\n  \"import.entries_received\": body.ascents.length,\n});\n\n\u002F\u002F Algorithm runs here...\n\nSentry.logger.info(\"Aurora import finished\", {\n  \"import.source\": \"aurora\",\n  \"import.entries_received\": body.ascents.length,\n  \"import.imported\": imported,\n  \"import.climbs_created\": climbsCreated,\n  \"import.skipped\": skipped,\n  \"import.skipped.missing_name\": skipDetails.missingName,\n  \"import.skipped.unknown_grade\": skipDetails.unknownGrade,\n  \"import.skipped.invalid_angle\": skipDetails.invalidAngle,\n  \"import.skipped.already_imported\": skipDetails.alreadyImported,\n});\n```\n\nKey stages are logged and the final outcome summarizes the work performed,\nmaking it easier to understand where the import succeeded, failed, or produced\nunexpected results.\n\n#### Audit and access events (creates, updates, deletes, access, permissions)\n\nAudit logs help answer questions like \"Who changed this?\", \"When did it\nhappen?\", and \"Was this action expected?\"\n\nLog important changes to application state, such as entities being created,\nupdated, deleted, viewed, or having permissions modified.\n\nUse good judgment. Most applications don't need a log entry for every database\noperation, but they often benefit from recording security-sensitive actions and\nimportant business events.\n\n#### Context surrounding errors and failures\n\nFor exceptions, you'll often be better off using errors rather than adding a log\nline.\n\nNot every failure should become a Sentry issue.\n\nExamples of failures that are often better represented as log messages include:\n\n* Failures from non-critical, optional upstream services.\n* Failures that occur in a retry loop prior to the final attempt.\n\nFor these types of `error` log messages, consider including:\n\n* Retry count.\n* Response status code and important non-sensitive request or response fields\n  for external API calls.\n* Runtime decisions leading up to the failure.\n\n### How to structure log messages\n\n#### Use structured log messages\n\nUse structured logs that capture information as consistent key\u002Fvalue pairs.\n\nUse consistent field names throughout the application so similar events can be\nsearched, aggregated, and compared.\n\nA good log message typically answers three questions:\n\n* Who performed the action (for example, the authenticated user).\n* What happened (a human-readable message and supporting metadata).\n* When it happened (typically added automatically by the logging system).\n\nUse Sentry's SDK when appropriate for setting context globally. For example,\n`set_user` is available in many SDKs to attach authenticated user information\nto all events in a single location.\n\n#### Add context as a request evolves\n\nLogs should accumulate context as a request moves through your application.\n\nEarly log messages may contain only request information. Later messages can add\nauthenticated user information, feature flags, runtime decisions, and\nevent-specific metadata.\n\nSentry automatically attaches a Trace ID to log messages, allowing them to be\ncorrelated with traces.\n\n#### Choose the appropriate log level\n\nUsing appropriate log levels conveys additional meaning in your log messages.\n\nUse `debug` for temporary diagnostic information.\n\nUse `info` for normal application events and contextual information.\n\nUse `warn` for recoverable situations that deserve attention but do not prevent\nthe application from functioning correctly.\n\nUse `error` for unexpected failures that are handled gracefully. Prefer errors\nfor exceptions that should become Sentry issues.\n\n#### How to log objects\n\nAvoid logging entire objects. Instead, log only the fields relevant to the\nevent, using dot notation to namespace nested values.\n\nOmit optional attributes when they are not present instead of logging empty\nstrings, `null`, or placeholder values.\n\n### What not to log\n\n#### Do not log every line of code or function call\n\nInstrumenting every function call or service invocation is better handled by\ntracing or profiling.\n\n#### Do not log PII and other sensitive information\n\nAssume anything written to logs may eventually be viewed by another human.\n\n* Prefer opaque user IDs over email addresses, usernames, or full names whenever\n  possible, including when setting global user context (for example via\n  `set_user`).\n* Passwords, access tokens, API keys, and similar secrets should never appear\n  in logs.\n* Other types of personal information may also be regulated depending on\n  jurisdiction, including age, gender, and postal code.\n* Be aware of laws and standards such as PCI, GDPR, CCPA, and HIPAA when\n  deciding what should be logged, retained, or exposed.\n\nBe intentional about what you log. Log the minimum information necessary to\ndebug and operate your application.\n\n#### Large blobs of data (without a specific purpose)\n\nThere are legitimate reasons to log large unstructured blobs of data:\n\n* Seeing a full LLM prompt and response may help you understand whether your\n  product is behaving as expected.\n* Logging a webhook body may help you debug issues with an external integration.\n\nHowever, logging this type of data has both costs and risks:\n\n* Users may include personal or sensitive information in an LLM prompt.\n* Entire HTTP requests and responses may contain access tokens, secrets, or\n  other sensitive data.\n\nWhen possible, prefer logging the specific fields you expect to query rather\nthan entire payloads.\n\n### Skill-specific guidance\n\nThe purpose of this skill is to demonstrate good logging practices, not to\nmaximize log coverage.\n\nPrefer adding a handful of high-value log messages over instrumenting every\npossible code path.\n\nEach log message should:\n\n* Be immediately useful when debugging production behaviour.\n* Demonstrate effective use of structured logging.\n* Serve as a practical example that users can follow elsewhere in the codebase.\n\nFor small codebases, add enough representative logs that the result serves as a\npractical model for future instrumentation.\n\nFor large codebases, focus on a few representative locations rather than trying\nto instrument everything.\n\nStrongly prefer using the SDK's setUser functionality to associate logs with\nthe authenticated user, rather than repeating user identifiers as log attributes.\nOnly include user identifiers as log attributes when they describe something other\nthan the authenticated user.\n\n### When the codebase already has logging\n\nBefore adding new log lines, inspect existing logs and identify gaps.\n\nPrefer to:\n\n- Improve existing logs by making them structured.\n- Add missing context to existing important logs.\n- Add logs only where an important production question is currently unanswered.\n  Pay specific attention to whether the failure is already represented as an\n  uncaught exception, and therefore likely captured by Sentry errors.\n",{"data":34,"body":38},{"name":4,"description":6,"license":24,"category":35,"parent":36,"disable-model-invocation":37},"feature-setup","sentry-feature-setup",true,{"type":39,"children":40},"root",[41,50,65,70,75,82,87,99,105,443,448,455,460,474,479,486,491,496,514,519,525,530,535,1130,1135,1141,1146,1151,1156,1162,1167,1172,1177,1190,1203,1221,1227,1233,1238,1243,1248,1266,1279,1285,1290,1295,1300,1306,1311,1324,1335,1347,1358,1364,1369,1382,1388,1394,1399,1405,1410,1440,1445,1451,1456,1469,1474,1487,1492,1498,1503,1508,1513,1531,1536,1541,1546,1552,1557,1562,1580],{"type":42,"tag":43,"props":44,"children":46},"element","h1",{"id":45},"instrument-sentry-logging",[47],{"type":48,"value":49},"text","Instrument Sentry Logging",{"type":42,"tag":51,"props":52,"children":53},"p",{},[54,56,63],{"type":48,"value":55},"This skill adds structured Sentry logs to an application following the guidance\nin ",{"type":42,"tag":57,"props":58,"children":60},"a",{"href":59},"#instrumentation-guidance",[61],{"type":48,"value":62},"Instrumentation guidance",{"type":48,"value":64},".",{"type":42,"tag":51,"props":66,"children":67},{},[68],{"type":48,"value":69},"The goal is to provide a small set of high-value log messages that make\nproduction behavior easier to understand and debug.",{"type":42,"tag":51,"props":71,"children":72},{},[73],{"type":48,"value":74},"The log messages added by this skill should also serve as clear, repeatable,\nexamples that users can follow when instrumenting the rest of their application.",{"type":42,"tag":76,"props":77,"children":79},"h2",{"id":78},"prerequisites",[80],{"type":48,"value":81},"Prerequisites",{"type":42,"tag":51,"props":83,"children":84},{},[85],{"type":48,"value":86},"The repository should already have basic Sentry configuration.",{"type":42,"tag":51,"props":88,"children":89},{},[90,92,98],{"type":48,"value":91},"If Sentry has not yet been configured, offer to set it up using the appropriate\n",{"type":42,"tag":57,"props":93,"children":95},{"href":94},".\u002F",[96],{"type":48,"value":97},"skills",{"type":48,"value":64},{"type":42,"tag":76,"props":100,"children":102},{"id":101},"steps",[103],{"type":48,"value":104},"Steps",{"type":42,"tag":106,"props":107,"children":108},"ol",{},[109,216,234,278,425],{"type":42,"tag":110,"props":111,"children":112},"li",{},[113,119,121,128,130,136,137,143,144,150,152,158,159,165,167,210,214],{"type":42,"tag":114,"props":115,"children":116},"strong",{},[117],{"type":48,"value":118},"Inventory every application in the repository.",{"type":48,"value":120}," Locate language\u002Fruntime\nmanifests (",{"type":42,"tag":122,"props":123,"children":125},"code",{"className":124},[],[126],{"type":48,"value":127},"composer.json",{"type":48,"value":129},", ",{"type":42,"tag":122,"props":131,"children":133},{"className":132},[],[134],{"type":48,"value":135},"package.json",{"type":48,"value":129},{"type":42,"tag":122,"props":138,"children":140},{"className":139},[],[141],{"type":48,"value":142},"go.mod",{"type":48,"value":129},{"type":42,"tag":122,"props":145,"children":147},{"className":146},[],[148],{"type":48,"value":149},"Gemfile",{"type":48,"value":151},",\n",{"type":42,"tag":122,"props":153,"children":155},{"className":154},[],[156],{"type":48,"value":157},"pyproject.toml",{"type":48,"value":129},{"type":42,"tag":122,"props":160,"children":162},{"className":161},[],[163],{"type":48,"value":164},"Cargo.toml",{"type":48,"value":166},", …). Each manifest typically marks a\nseparately deployed application. Produce an explicit table and treat it as\nthe work list for the rest of this skill:",{"type":42,"tag":168,"props":169,"children":170},"table",{},[171],{"type":42,"tag":172,"props":173,"children":174},"thead",{},[175],{"type":42,"tag":176,"props":177,"children":178},"tr",{},[179,185,190,195,200,205],{"type":42,"tag":180,"props":181,"children":182},"th",{},[183],{"type":48,"value":184},"App",{"type":42,"tag":180,"props":186,"children":187},{},[188],{"type":48,"value":189},"Path",{"type":42,"tag":180,"props":191,"children":192},{},[193],{"type":48,"value":194},"Language",{"type":42,"tag":180,"props":196,"children":197},{},[198],{"type":48,"value":199},"Sentry SDK?",{"type":42,"tag":180,"props":201,"children":202},{},[203],{"type":48,"value":204},"Logging abstraction",{"type":42,"tag":180,"props":206,"children":207},{},[208],{"type":48,"value":209},"Status",{"type":42,"tag":211,"props":212,"children":213},"br",{},[],{"type":48,"value":215},"If the repo has more than ~2 apps, confirm scope with the user before\nstarting: which apps to instrument now, and at what depth.",{"type":42,"tag":110,"props":217,"children":218},{},[219,224,226,232],{"type":42,"tag":114,"props":220,"children":221},{},[222],{"type":48,"value":223},"Establish shared conventions once, up front",{"type":48,"value":225}," — before touching any app.\nDecide on consistent attribute namespacing (e.g. ",{"type":42,"tag":122,"props":227,"children":229},{"className":228},[],[230],{"type":48,"value":231},"myapp.\u003Cdomain>.\u003Cfield>",{"type":48,"value":233},"),\nevent-name phrasing, and log levels, so logs from every language can be\nsearched and correlated together. Record these so each per-app pass follows\nthem. Note service boundaries that propagate trace headers\n(baggage \u002F sentry-trace) — logs on both sides of such a call should share\nattribute names so a single trace reads coherently across languages.",{"type":42,"tag":110,"props":235,"children":236},{},[237,242,244,250,252,255,257,262,264,270,272,276],{"type":42,"tag":114,"props":238,"children":239},{},[240],{"type":48,"value":241},"For each application in the inventory, complete the full pass below before\nmoving to the next",{"type":48,"value":243},", updating its Status as you go\n(",{"type":42,"tag":122,"props":245,"children":247},{"className":246},[],[248],{"type":48,"value":249},"not started → configured → instrumented → verified",{"type":48,"value":251},"):",{"type":42,"tag":211,"props":253,"children":254},{},[],{"type":48,"value":256},"a. Read the corresponding language-specific skill in ",{"type":42,"tag":57,"props":258,"children":260},{"href":259},"..\u002F",[261],{"type":48,"value":97},{"type":48,"value":263}," and\nconfirm Sentry logging is configured.\nb. Determine the app's logging abstraction (Monolog\u002FPHP, slog\u002FGo,\nRails logger\u002FRuby, Pino or console\u002FJS). If Sentry supports it, configure\nthat integration; otherwise use Sentry's logging SDK directly.\nc. Identify a small number of high-value log messages, prioritizing runtime\ndecisions, important algorithms, audit events, and context around\nrecoverable failures. Follow\n",{"type":42,"tag":57,"props":265,"children":267},{"href":266},"#valuable-log-entries-to-instrument",[268],{"type":48,"value":269},"Valuable log entries to instrument",{"type":48,"value":271},".\nd. Add structured logs following the shared conventions from Step 2 and the\n",{"type":42,"tag":57,"props":273,"children":274},{"href":59},[275],{"type":48,"value":62},{"type":48,"value":277},".\ne. Verify: run the app's lint\u002Ftype\u002Ftest tooling if available, and confirm\nlogs are emitted. If the toolchain isn't available locally,\nsay so explicitly rather than implying it passed.",{"type":42,"tag":110,"props":279,"children":280},{},[281,286,288,403,406,408,411,413,416,418],{"type":42,"tag":114,"props":282,"children":283},{},[284],{"type":48,"value":285},"Apply a high-value log validation check.",{"type":48,"value":287}," Review every added or modified log line\nand remove or revise any log that does not pass this check:",{"type":42,"tag":168,"props":289,"children":290},{},[291,307],{"type":42,"tag":172,"props":292,"children":293},{},[294],{"type":42,"tag":176,"props":295,"children":296},{},[297,302],{"type":42,"tag":180,"props":298,"children":299},{},[300],{"type":48,"value":301},"Check",{"type":42,"tag":180,"props":303,"children":304},{},[305],{"type":48,"value":306},"Question",{"type":42,"tag":308,"props":309,"children":310},"tbody",{},[311,325,338,351,364,377,390],{"type":42,"tag":176,"props":312,"children":313},{},[314,320],{"type":42,"tag":315,"props":316,"children":317},"td",{},[318],{"type":48,"value":319},"Production question",{"type":42,"tag":315,"props":321,"children":322},{},[323],{"type":48,"value":324},"What concrete production question does this log answer?",{"type":42,"tag":176,"props":326,"children":327},{},[328,333],{"type":42,"tag":315,"props":329,"children":330},{},[331],{"type":48,"value":332},"Signal",{"type":42,"tag":315,"props":334,"children":335},{},[336],{"type":48,"value":337},"Would this still be useful if emitted hundreds or thousands of times?",{"type":42,"tag":176,"props":339,"children":340},{},[341,346],{"type":42,"tag":315,"props":342,"children":343},{},[344],{"type":48,"value":345},"Telemetry fit",{"type":42,"tag":315,"props":347,"children":348},{},[349],{"type":48,"value":350},"Is this better represented as a trace, metric, or Sentry error?",{"type":42,"tag":176,"props":352,"children":353},{},[354,359],{"type":42,"tag":315,"props":355,"children":356},{},[357],{"type":48,"value":358},"Existing coverage",{"type":42,"tag":315,"props":360,"children":361},{},[362],{"type":48,"value":363},"Is this already captured by an exception, existing log, or shared API\u002Fclient wrapper?",{"type":42,"tag":176,"props":365,"children":366},{},[367,372],{"type":42,"tag":315,"props":368,"children":369},{},[370],{"type":48,"value":371},"Structure",{"type":42,"tag":315,"props":373,"children":374},{},[375],{"type":48,"value":376},"Are event names and attributes consistent with the shared conventions?",{"type":42,"tag":176,"props":378,"children":379},{},[380,385],{"type":42,"tag":315,"props":381,"children":382},{},[383],{"type":48,"value":384},"Safety",{"type":42,"tag":315,"props":386,"children":387},{},[388],{"type":48,"value":389},"Does it avoid PII, secrets, raw payloads, and unstable exception messages?",{"type":42,"tag":176,"props":391,"children":392},{},[393,398],{"type":42,"tag":315,"props":394,"children":395},{},[396],{"type":48,"value":397},"Actionability",{"type":42,"tag":315,"props":399,"children":400},{},[401],{"type":48,"value":402},"Would seeing this log change how someone investigates or responds?",{"type":42,"tag":211,"props":404,"children":405},{},[],{"type":48,"value":407},"Prefer removing logs that merely confirm routine UI interactions, duplicate\ngeneric API failures, or record expected validation failures without adding\nmeaningful context.",{"type":42,"tag":211,"props":409,"children":410},{},[],{"type":48,"value":412},"Keep logs that explain important runtime decisions, summarize multi-step\nworkflows, record important audit\u002Fbusiness events, or provide context around\nrecoverable failures.",{"type":42,"tag":211,"props":414,"children":415},{},[],{"type":48,"value":417},"For each remaining log, be able to write a one-sentence justification:\n\"This log is valuable because it helps answer ",{"type":42,"tag":419,"props":420,"children":422},"specific",{"question":421},"",[423],{"type":48,"value":424},".\"",{"type":42,"tag":110,"props":426,"children":427},{},[428,433,435,441],{"type":42,"tag":114,"props":429,"children":430},{},[431],{"type":48,"value":432},"Reconcile against the inventory.",{"type":48,"value":434}," Confirm every in-scope app reached\n",{"type":42,"tag":122,"props":436,"children":438},{"className":437},[],[439],{"type":48,"value":440},"verified",{"type":48,"value":442}," (or was explicitly deferred). Report per-app status so partial\ncoverage is never mistaken for full coverage.",{"type":42,"tag":76,"props":444,"children":446},{"id":445},"instrumentation-guidance",[447],{"type":48,"value":62},{"type":42,"tag":449,"props":450,"children":452},"h3",{"id":451},"when-to-reach-for-logging-vs-other-types-of-telemetry",[453],{"type":48,"value":454},"When to reach for logging, vs., other types of telemetry",{"type":42,"tag":51,"props":456,"children":457},{},[458],{"type":48,"value":459},"Logs are ideal for recording the context and decisions that explain what\nhappened during an application's execution.",{"type":42,"tag":461,"props":462,"children":463},"ul",{},[464,469],{"type":42,"tag":110,"props":465,"children":466},{},[467],{"type":48,"value":468},"For measuring the performance and flow of requests, use tracing.",{"type":42,"tag":110,"props":470,"children":471},{},[472],{"type":48,"value":473},"For unexpected critical failures, use errors.",{"type":42,"tag":449,"props":475,"children":477},{"id":476},"valuable-log-entries-to-instrument",[478],{"type":48,"value":269},{"type":42,"tag":480,"props":481,"children":483},"h4",{"id":482},"important-runtime-decisions-made-by-your-application",[484],{"type":48,"value":485},"Important runtime decisions made by your application",{"type":42,"tag":51,"props":487,"children":488},{},[489],{"type":48,"value":490},"The decisions your application makes while serving a request are often the\nmissing context needed to explain production behaviour.",{"type":42,"tag":51,"props":492,"children":493},{},[494],{"type":48,"value":495},"Examples include:",{"type":42,"tag":461,"props":497,"children":498},{},[499,504,509],{"type":42,"tag":110,"props":500,"children":501},{},[502],{"type":48,"value":503},"A user has a feature flag enabled, resulting in a different code path.",{"type":42,"tag":110,"props":505,"children":506},{},[507],{"type":48,"value":508},"Mobile users are redirected to a different experience.",{"type":42,"tag":110,"props":510,"children":511},{},[512],{"type":48,"value":513},"Paid and free users receive different functionality.",{"type":42,"tag":51,"props":515,"children":516},{},[517],{"type":48,"value":518},"This information can be useful both as a standalone log entry, for example when\na feature flag is evaluated, and as structured context included with later log\nmessages.",{"type":42,"tag":480,"props":520,"children":522},{"id":521},"whether-a-feature-or-algorithm-is-behaving-as-expected",[523],{"type":48,"value":524},"Whether a feature or algorithm is behaving as expected",{"type":42,"tag":51,"props":526,"children":527},{},[528],{"type":48,"value":529},"Logs are useful when a feature performs multiple steps. By recording\nintermediate outcomes, you can understand where a process is breaking down and\nwhy.",{"type":42,"tag":51,"props":531,"children":532},{},[533],{"type":48,"value":534},"Here's an example from a site that allows users to import a logbook from another\nservice:",{"type":42,"tag":536,"props":537,"children":541},"pre",{"className":538,"code":539,"language":540,"meta":421,"style":421},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","Sentry.logger.info(\"Aurora import started\", {\n  \"import.source\": \"aurora\",\n  \"import.entries_received\": body.ascents.length,\n});\n\n\u002F\u002F Algorithm runs here...\n\nSentry.logger.info(\"Aurora import finished\", {\n  \"import.source\": \"aurora\",\n  \"import.entries_received\": body.ascents.length,\n  \"import.imported\": imported,\n  \"import.climbs_created\": climbsCreated,\n  \"import.skipped\": skipped,\n  \"import.skipped.missing_name\": skipDetails.missingName,\n  \"import.skipped.unknown_grade\": skipDetails.unknownGrade,\n  \"import.skipped.invalid_angle\": skipDetails.invalidAngle,\n  \"import.skipped.already_imported\": skipDetails.alreadyImported,\n});\n","js",[542],{"type":42,"tag":122,"props":543,"children":544},{"__ignoreMap":421},[545,606,648,696,715,724,734,742,791,827,871,901,931,961,1000,1038,1076,1114],{"type":42,"tag":546,"props":547,"children":550},"span",{"class":548,"line":549},"line",1,[551,556,561,566,570,576,581,586,592,596,601],{"type":42,"tag":546,"props":552,"children":554},{"style":553},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[555],{"type":48,"value":9},{"type":42,"tag":546,"props":557,"children":559},{"style":558},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[560],{"type":48,"value":64},{"type":42,"tag":546,"props":562,"children":563},{"style":553},[564],{"type":48,"value":565},"logger",{"type":42,"tag":546,"props":567,"children":568},{"style":558},[569],{"type":48,"value":64},{"type":42,"tag":546,"props":571,"children":573},{"style":572},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[574],{"type":48,"value":575},"info",{"type":42,"tag":546,"props":577,"children":578},{"style":553},[579],{"type":48,"value":580},"(",{"type":42,"tag":546,"props":582,"children":583},{"style":558},[584],{"type":48,"value":585},"\"",{"type":42,"tag":546,"props":587,"children":589},{"style":588},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[590],{"type":48,"value":591},"Aurora import started",{"type":42,"tag":546,"props":593,"children":594},{"style":558},[595],{"type":48,"value":585},{"type":42,"tag":546,"props":597,"children":598},{"style":558},[599],{"type":48,"value":600},",",{"type":42,"tag":546,"props":602,"children":603},{"style":558},[604],{"type":48,"value":605}," {\n",{"type":42,"tag":546,"props":607,"children":609},{"class":548,"line":608},2,[610,615,621,625,630,635,640,644],{"type":42,"tag":546,"props":611,"children":612},{"style":558},[613],{"type":48,"value":614},"  \"",{"type":42,"tag":546,"props":616,"children":618},{"style":617},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[619],{"type":48,"value":620},"import.source",{"type":42,"tag":546,"props":622,"children":623},{"style":558},[624],{"type":48,"value":585},{"type":42,"tag":546,"props":626,"children":627},{"style":558},[628],{"type":48,"value":629},":",{"type":42,"tag":546,"props":631,"children":632},{"style":558},[633],{"type":48,"value":634}," \"",{"type":42,"tag":546,"props":636,"children":637},{"style":588},[638],{"type":48,"value":639},"aurora",{"type":42,"tag":546,"props":641,"children":642},{"style":558},[643],{"type":48,"value":585},{"type":42,"tag":546,"props":645,"children":646},{"style":558},[647],{"type":48,"value":151},{"type":42,"tag":546,"props":649,"children":651},{"class":548,"line":650},3,[652,656,661,665,669,674,678,683,687,692],{"type":42,"tag":546,"props":653,"children":654},{"style":558},[655],{"type":48,"value":614},{"type":42,"tag":546,"props":657,"children":658},{"style":617},[659],{"type":48,"value":660},"import.entries_received",{"type":42,"tag":546,"props":662,"children":663},{"style":558},[664],{"type":48,"value":585},{"type":42,"tag":546,"props":666,"children":667},{"style":558},[668],{"type":48,"value":629},{"type":42,"tag":546,"props":670,"children":671},{"style":553},[672],{"type":48,"value":673}," body",{"type":42,"tag":546,"props":675,"children":676},{"style":558},[677],{"type":48,"value":64},{"type":42,"tag":546,"props":679,"children":680},{"style":553},[681],{"type":48,"value":682},"ascents",{"type":42,"tag":546,"props":684,"children":685},{"style":558},[686],{"type":48,"value":64},{"type":42,"tag":546,"props":688,"children":689},{"style":553},[690],{"type":48,"value":691},"length",{"type":42,"tag":546,"props":693,"children":694},{"style":558},[695],{"type":48,"value":151},{"type":42,"tag":546,"props":697,"children":699},{"class":548,"line":698},4,[700,705,710],{"type":42,"tag":546,"props":701,"children":702},{"style":558},[703],{"type":48,"value":704},"}",{"type":42,"tag":546,"props":706,"children":707},{"style":553},[708],{"type":48,"value":709},")",{"type":42,"tag":546,"props":711,"children":712},{"style":558},[713],{"type":48,"value":714},";\n",{"type":42,"tag":546,"props":716,"children":718},{"class":548,"line":717},5,[719],{"type":42,"tag":546,"props":720,"children":721},{"emptyLinePlaceholder":37},[722],{"type":48,"value":723},"\n",{"type":42,"tag":546,"props":725,"children":727},{"class":548,"line":726},6,[728],{"type":42,"tag":546,"props":729,"children":731},{"style":730},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[732],{"type":48,"value":733},"\u002F\u002F Algorithm runs here...\n",{"type":42,"tag":546,"props":735,"children":737},{"class":548,"line":736},7,[738],{"type":42,"tag":546,"props":739,"children":740},{"emptyLinePlaceholder":37},[741],{"type":48,"value":723},{"type":42,"tag":546,"props":743,"children":745},{"class":548,"line":744},8,[746,750,754,758,762,766,770,774,779,783,787],{"type":42,"tag":546,"props":747,"children":748},{"style":553},[749],{"type":48,"value":9},{"type":42,"tag":546,"props":751,"children":752},{"style":558},[753],{"type":48,"value":64},{"type":42,"tag":546,"props":755,"children":756},{"style":553},[757],{"type":48,"value":565},{"type":42,"tag":546,"props":759,"children":760},{"style":558},[761],{"type":48,"value":64},{"type":42,"tag":546,"props":763,"children":764},{"style":572},[765],{"type":48,"value":575},{"type":42,"tag":546,"props":767,"children":768},{"style":553},[769],{"type":48,"value":580},{"type":42,"tag":546,"props":771,"children":772},{"style":558},[773],{"type":48,"value":585},{"type":42,"tag":546,"props":775,"children":776},{"style":588},[777],{"type":48,"value":778},"Aurora import finished",{"type":42,"tag":546,"props":780,"children":781},{"style":558},[782],{"type":48,"value":585},{"type":42,"tag":546,"props":784,"children":785},{"style":558},[786],{"type":48,"value":600},{"type":42,"tag":546,"props":788,"children":789},{"style":558},[790],{"type":48,"value":605},{"type":42,"tag":546,"props":792,"children":794},{"class":548,"line":793},9,[795,799,803,807,811,815,819,823],{"type":42,"tag":546,"props":796,"children":797},{"style":558},[798],{"type":48,"value":614},{"type":42,"tag":546,"props":800,"children":801},{"style":617},[802],{"type":48,"value":620},{"type":42,"tag":546,"props":804,"children":805},{"style":558},[806],{"type":48,"value":585},{"type":42,"tag":546,"props":808,"children":809},{"style":558},[810],{"type":48,"value":629},{"type":42,"tag":546,"props":812,"children":813},{"style":558},[814],{"type":48,"value":634},{"type":42,"tag":546,"props":816,"children":817},{"style":588},[818],{"type":48,"value":639},{"type":42,"tag":546,"props":820,"children":821},{"style":558},[822],{"type":48,"value":585},{"type":42,"tag":546,"props":824,"children":825},{"style":558},[826],{"type":48,"value":151},{"type":42,"tag":546,"props":828,"children":830},{"class":548,"line":829},10,[831,835,839,843,847,851,855,859,863,867],{"type":42,"tag":546,"props":832,"children":833},{"style":558},[834],{"type":48,"value":614},{"type":42,"tag":546,"props":836,"children":837},{"style":617},[838],{"type":48,"value":660},{"type":42,"tag":546,"props":840,"children":841},{"style":558},[842],{"type":48,"value":585},{"type":42,"tag":546,"props":844,"children":845},{"style":558},[846],{"type":48,"value":629},{"type":42,"tag":546,"props":848,"children":849},{"style":553},[850],{"type":48,"value":673},{"type":42,"tag":546,"props":852,"children":853},{"style":558},[854],{"type":48,"value":64},{"type":42,"tag":546,"props":856,"children":857},{"style":553},[858],{"type":48,"value":682},{"type":42,"tag":546,"props":860,"children":861},{"style":558},[862],{"type":48,"value":64},{"type":42,"tag":546,"props":864,"children":865},{"style":553},[866],{"type":48,"value":691},{"type":42,"tag":546,"props":868,"children":869},{"style":558},[870],{"type":48,"value":151},{"type":42,"tag":546,"props":872,"children":874},{"class":548,"line":873},11,[875,879,884,888,892,897],{"type":42,"tag":546,"props":876,"children":877},{"style":558},[878],{"type":48,"value":614},{"type":42,"tag":546,"props":880,"children":881},{"style":617},[882],{"type":48,"value":883},"import.imported",{"type":42,"tag":546,"props":885,"children":886},{"style":558},[887],{"type":48,"value":585},{"type":42,"tag":546,"props":889,"children":890},{"style":558},[891],{"type":48,"value":629},{"type":42,"tag":546,"props":893,"children":894},{"style":553},[895],{"type":48,"value":896}," imported",{"type":42,"tag":546,"props":898,"children":899},{"style":558},[900],{"type":48,"value":151},{"type":42,"tag":546,"props":902,"children":904},{"class":548,"line":903},12,[905,909,914,918,922,927],{"type":42,"tag":546,"props":906,"children":907},{"style":558},[908],{"type":48,"value":614},{"type":42,"tag":546,"props":910,"children":911},{"style":617},[912],{"type":48,"value":913},"import.climbs_created",{"type":42,"tag":546,"props":915,"children":916},{"style":558},[917],{"type":48,"value":585},{"type":42,"tag":546,"props":919,"children":920},{"style":558},[921],{"type":48,"value":629},{"type":42,"tag":546,"props":923,"children":924},{"style":553},[925],{"type":48,"value":926}," climbsCreated",{"type":42,"tag":546,"props":928,"children":929},{"style":558},[930],{"type":48,"value":151},{"type":42,"tag":546,"props":932,"children":934},{"class":548,"line":933},13,[935,939,944,948,952,957],{"type":42,"tag":546,"props":936,"children":937},{"style":558},[938],{"type":48,"value":614},{"type":42,"tag":546,"props":940,"children":941},{"style":617},[942],{"type":48,"value":943},"import.skipped",{"type":42,"tag":546,"props":945,"children":946},{"style":558},[947],{"type":48,"value":585},{"type":42,"tag":546,"props":949,"children":950},{"style":558},[951],{"type":48,"value":629},{"type":42,"tag":546,"props":953,"children":954},{"style":553},[955],{"type":48,"value":956}," skipped",{"type":42,"tag":546,"props":958,"children":959},{"style":558},[960],{"type":48,"value":151},{"type":42,"tag":546,"props":962,"children":964},{"class":548,"line":963},14,[965,969,974,978,982,987,991,996],{"type":42,"tag":546,"props":966,"children":967},{"style":558},[968],{"type":48,"value":614},{"type":42,"tag":546,"props":970,"children":971},{"style":617},[972],{"type":48,"value":973},"import.skipped.missing_name",{"type":42,"tag":546,"props":975,"children":976},{"style":558},[977],{"type":48,"value":585},{"type":42,"tag":546,"props":979,"children":980},{"style":558},[981],{"type":48,"value":629},{"type":42,"tag":546,"props":983,"children":984},{"style":553},[985],{"type":48,"value":986}," skipDetails",{"type":42,"tag":546,"props":988,"children":989},{"style":558},[990],{"type":48,"value":64},{"type":42,"tag":546,"props":992,"children":993},{"style":553},[994],{"type":48,"value":995},"missingName",{"type":42,"tag":546,"props":997,"children":998},{"style":558},[999],{"type":48,"value":151},{"type":42,"tag":546,"props":1001,"children":1003},{"class":548,"line":1002},15,[1004,1008,1013,1017,1021,1025,1029,1034],{"type":42,"tag":546,"props":1005,"children":1006},{"style":558},[1007],{"type":48,"value":614},{"type":42,"tag":546,"props":1009,"children":1010},{"style":617},[1011],{"type":48,"value":1012},"import.skipped.unknown_grade",{"type":42,"tag":546,"props":1014,"children":1015},{"style":558},[1016],{"type":48,"value":585},{"type":42,"tag":546,"props":1018,"children":1019},{"style":558},[1020],{"type":48,"value":629},{"type":42,"tag":546,"props":1022,"children":1023},{"style":553},[1024],{"type":48,"value":986},{"type":42,"tag":546,"props":1026,"children":1027},{"style":558},[1028],{"type":48,"value":64},{"type":42,"tag":546,"props":1030,"children":1031},{"style":553},[1032],{"type":48,"value":1033},"unknownGrade",{"type":42,"tag":546,"props":1035,"children":1036},{"style":558},[1037],{"type":48,"value":151},{"type":42,"tag":546,"props":1039,"children":1041},{"class":548,"line":1040},16,[1042,1046,1051,1055,1059,1063,1067,1072],{"type":42,"tag":546,"props":1043,"children":1044},{"style":558},[1045],{"type":48,"value":614},{"type":42,"tag":546,"props":1047,"children":1048},{"style":617},[1049],{"type":48,"value":1050},"import.skipped.invalid_angle",{"type":42,"tag":546,"props":1052,"children":1053},{"style":558},[1054],{"type":48,"value":585},{"type":42,"tag":546,"props":1056,"children":1057},{"style":558},[1058],{"type":48,"value":629},{"type":42,"tag":546,"props":1060,"children":1061},{"style":553},[1062],{"type":48,"value":986},{"type":42,"tag":546,"props":1064,"children":1065},{"style":558},[1066],{"type":48,"value":64},{"type":42,"tag":546,"props":1068,"children":1069},{"style":553},[1070],{"type":48,"value":1071},"invalidAngle",{"type":42,"tag":546,"props":1073,"children":1074},{"style":558},[1075],{"type":48,"value":151},{"type":42,"tag":546,"props":1077,"children":1079},{"class":548,"line":1078},17,[1080,1084,1089,1093,1097,1101,1105,1110],{"type":42,"tag":546,"props":1081,"children":1082},{"style":558},[1083],{"type":48,"value":614},{"type":42,"tag":546,"props":1085,"children":1086},{"style":617},[1087],{"type":48,"value":1088},"import.skipped.already_imported",{"type":42,"tag":546,"props":1090,"children":1091},{"style":558},[1092],{"type":48,"value":585},{"type":42,"tag":546,"props":1094,"children":1095},{"style":558},[1096],{"type":48,"value":629},{"type":42,"tag":546,"props":1098,"children":1099},{"style":553},[1100],{"type":48,"value":986},{"type":42,"tag":546,"props":1102,"children":1103},{"style":558},[1104],{"type":48,"value":64},{"type":42,"tag":546,"props":1106,"children":1107},{"style":553},[1108],{"type":48,"value":1109},"alreadyImported",{"type":42,"tag":546,"props":1111,"children":1112},{"style":558},[1113],{"type":48,"value":151},{"type":42,"tag":546,"props":1115,"children":1117},{"class":548,"line":1116},18,[1118,1122,1126],{"type":42,"tag":546,"props":1119,"children":1120},{"style":558},[1121],{"type":48,"value":704},{"type":42,"tag":546,"props":1123,"children":1124},{"style":553},[1125],{"type":48,"value":709},{"type":42,"tag":546,"props":1127,"children":1128},{"style":558},[1129],{"type":48,"value":714},{"type":42,"tag":51,"props":1131,"children":1132},{},[1133],{"type":48,"value":1134},"Key stages are logged and the final outcome summarizes the work performed,\nmaking it easier to understand where the import succeeded, failed, or produced\nunexpected results.",{"type":42,"tag":480,"props":1136,"children":1138},{"id":1137},"audit-and-access-events-creates-updates-deletes-access-permissions",[1139],{"type":48,"value":1140},"Audit and access events (creates, updates, deletes, access, permissions)",{"type":42,"tag":51,"props":1142,"children":1143},{},[1144],{"type":48,"value":1145},"Audit logs help answer questions like \"Who changed this?\", \"When did it\nhappen?\", and \"Was this action expected?\"",{"type":42,"tag":51,"props":1147,"children":1148},{},[1149],{"type":48,"value":1150},"Log important changes to application state, such as entities being created,\nupdated, deleted, viewed, or having permissions modified.",{"type":42,"tag":51,"props":1152,"children":1153},{},[1154],{"type":48,"value":1155},"Use good judgment. Most applications don't need a log entry for every database\noperation, but they often benefit from recording security-sensitive actions and\nimportant business events.",{"type":42,"tag":480,"props":1157,"children":1159},{"id":1158},"context-surrounding-errors-and-failures",[1160],{"type":48,"value":1161},"Context surrounding errors and failures",{"type":42,"tag":51,"props":1163,"children":1164},{},[1165],{"type":48,"value":1166},"For exceptions, you'll often be better off using errors rather than adding a log\nline.",{"type":42,"tag":51,"props":1168,"children":1169},{},[1170],{"type":48,"value":1171},"Not every failure should become a Sentry issue.",{"type":42,"tag":51,"props":1173,"children":1174},{},[1175],{"type":48,"value":1176},"Examples of failures that are often better represented as log messages include:",{"type":42,"tag":461,"props":1178,"children":1179},{},[1180,1185],{"type":42,"tag":110,"props":1181,"children":1182},{},[1183],{"type":48,"value":1184},"Failures from non-critical, optional upstream services.",{"type":42,"tag":110,"props":1186,"children":1187},{},[1188],{"type":48,"value":1189},"Failures that occur in a retry loop prior to the final attempt.",{"type":42,"tag":51,"props":1191,"children":1192},{},[1193,1195,1201],{"type":48,"value":1194},"For these types of ",{"type":42,"tag":122,"props":1196,"children":1198},{"className":1197},[],[1199],{"type":48,"value":1200},"error",{"type":48,"value":1202}," log messages, consider including:",{"type":42,"tag":461,"props":1204,"children":1205},{},[1206,1211,1216],{"type":42,"tag":110,"props":1207,"children":1208},{},[1209],{"type":48,"value":1210},"Retry count.",{"type":42,"tag":110,"props":1212,"children":1213},{},[1214],{"type":48,"value":1215},"Response status code and important non-sensitive request or response fields\nfor external API calls.",{"type":42,"tag":110,"props":1217,"children":1218},{},[1219],{"type":48,"value":1220},"Runtime decisions leading up to the failure.",{"type":42,"tag":449,"props":1222,"children":1224},{"id":1223},"how-to-structure-log-messages",[1225],{"type":48,"value":1226},"How to structure log messages",{"type":42,"tag":480,"props":1228,"children":1230},{"id":1229},"use-structured-log-messages",[1231],{"type":48,"value":1232},"Use structured log messages",{"type":42,"tag":51,"props":1234,"children":1235},{},[1236],{"type":48,"value":1237},"Use structured logs that capture information as consistent key\u002Fvalue pairs.",{"type":42,"tag":51,"props":1239,"children":1240},{},[1241],{"type":48,"value":1242},"Use consistent field names throughout the application so similar events can be\nsearched, aggregated, and compared.",{"type":42,"tag":51,"props":1244,"children":1245},{},[1246],{"type":48,"value":1247},"A good log message typically answers three questions:",{"type":42,"tag":461,"props":1249,"children":1250},{},[1251,1256,1261],{"type":42,"tag":110,"props":1252,"children":1253},{},[1254],{"type":48,"value":1255},"Who performed the action (for example, the authenticated user).",{"type":42,"tag":110,"props":1257,"children":1258},{},[1259],{"type":48,"value":1260},"What happened (a human-readable message and supporting metadata).",{"type":42,"tag":110,"props":1262,"children":1263},{},[1264],{"type":48,"value":1265},"When it happened (typically added automatically by the logging system).",{"type":42,"tag":51,"props":1267,"children":1268},{},[1269,1271,1277],{"type":48,"value":1270},"Use Sentry's SDK when appropriate for setting context globally. For example,\n",{"type":42,"tag":122,"props":1272,"children":1274},{"className":1273},[],[1275],{"type":48,"value":1276},"set_user",{"type":48,"value":1278}," is available in many SDKs to attach authenticated user information\nto all events in a single location.",{"type":42,"tag":480,"props":1280,"children":1282},{"id":1281},"add-context-as-a-request-evolves",[1283],{"type":48,"value":1284},"Add context as a request evolves",{"type":42,"tag":51,"props":1286,"children":1287},{},[1288],{"type":48,"value":1289},"Logs should accumulate context as a request moves through your application.",{"type":42,"tag":51,"props":1291,"children":1292},{},[1293],{"type":48,"value":1294},"Early log messages may contain only request information. Later messages can add\nauthenticated user information, feature flags, runtime decisions, and\nevent-specific metadata.",{"type":42,"tag":51,"props":1296,"children":1297},{},[1298],{"type":48,"value":1299},"Sentry automatically attaches a Trace ID to log messages, allowing them to be\ncorrelated with traces.",{"type":42,"tag":480,"props":1301,"children":1303},{"id":1302},"choose-the-appropriate-log-level",[1304],{"type":48,"value":1305},"Choose the appropriate log level",{"type":42,"tag":51,"props":1307,"children":1308},{},[1309],{"type":48,"value":1310},"Using appropriate log levels conveys additional meaning in your log messages.",{"type":42,"tag":51,"props":1312,"children":1313},{},[1314,1316,1322],{"type":48,"value":1315},"Use ",{"type":42,"tag":122,"props":1317,"children":1319},{"className":1318},[],[1320],{"type":48,"value":1321},"debug",{"type":48,"value":1323}," for temporary diagnostic information.",{"type":42,"tag":51,"props":1325,"children":1326},{},[1327,1328,1333],{"type":48,"value":1315},{"type":42,"tag":122,"props":1329,"children":1331},{"className":1330},[],[1332],{"type":48,"value":575},{"type":48,"value":1334}," for normal application events and contextual information.",{"type":42,"tag":51,"props":1336,"children":1337},{},[1338,1339,1345],{"type":48,"value":1315},{"type":42,"tag":122,"props":1340,"children":1342},{"className":1341},[],[1343],{"type":48,"value":1344},"warn",{"type":48,"value":1346}," for recoverable situations that deserve attention but do not prevent\nthe application from functioning correctly.",{"type":42,"tag":51,"props":1348,"children":1349},{},[1350,1351,1356],{"type":48,"value":1315},{"type":42,"tag":122,"props":1352,"children":1354},{"className":1353},[],[1355],{"type":48,"value":1200},{"type":48,"value":1357}," for unexpected failures that are handled gracefully. Prefer errors\nfor exceptions that should become Sentry issues.",{"type":42,"tag":480,"props":1359,"children":1361},{"id":1360},"how-to-log-objects",[1362],{"type":48,"value":1363},"How to log objects",{"type":42,"tag":51,"props":1365,"children":1366},{},[1367],{"type":48,"value":1368},"Avoid logging entire objects. Instead, log only the fields relevant to the\nevent, using dot notation to namespace nested values.",{"type":42,"tag":51,"props":1370,"children":1371},{},[1372,1374,1380],{"type":48,"value":1373},"Omit optional attributes when they are not present instead of logging empty\nstrings, ",{"type":42,"tag":122,"props":1375,"children":1377},{"className":1376},[],[1378],{"type":48,"value":1379},"null",{"type":48,"value":1381},", or placeholder values.",{"type":42,"tag":449,"props":1383,"children":1385},{"id":1384},"what-not-to-log",[1386],{"type":48,"value":1387},"What not to log",{"type":42,"tag":480,"props":1389,"children":1391},{"id":1390},"do-not-log-every-line-of-code-or-function-call",[1392],{"type":48,"value":1393},"Do not log every line of code or function call",{"type":42,"tag":51,"props":1395,"children":1396},{},[1397],{"type":48,"value":1398},"Instrumenting every function call or service invocation is better handled by\ntracing or profiling.",{"type":42,"tag":480,"props":1400,"children":1402},{"id":1401},"do-not-log-pii-and-other-sensitive-information",[1403],{"type":48,"value":1404},"Do not log PII and other sensitive information",{"type":42,"tag":51,"props":1406,"children":1407},{},[1408],{"type":48,"value":1409},"Assume anything written to logs may eventually be viewed by another human.",{"type":42,"tag":461,"props":1411,"children":1412},{},[1413,1425,1430,1435],{"type":42,"tag":110,"props":1414,"children":1415},{},[1416,1418,1423],{"type":48,"value":1417},"Prefer opaque user IDs over email addresses, usernames, or full names whenever\npossible, including when setting global user context (for example via\n",{"type":42,"tag":122,"props":1419,"children":1421},{"className":1420},[],[1422],{"type":48,"value":1276},{"type":48,"value":1424},").",{"type":42,"tag":110,"props":1426,"children":1427},{},[1428],{"type":48,"value":1429},"Passwords, access tokens, API keys, and similar secrets should never appear\nin logs.",{"type":42,"tag":110,"props":1431,"children":1432},{},[1433],{"type":48,"value":1434},"Other types of personal information may also be regulated depending on\njurisdiction, including age, gender, and postal code.",{"type":42,"tag":110,"props":1436,"children":1437},{},[1438],{"type":48,"value":1439},"Be aware of laws and standards such as PCI, GDPR, CCPA, and HIPAA when\ndeciding what should be logged, retained, or exposed.",{"type":42,"tag":51,"props":1441,"children":1442},{},[1443],{"type":48,"value":1444},"Be intentional about what you log. Log the minimum information necessary to\ndebug and operate your application.",{"type":42,"tag":480,"props":1446,"children":1448},{"id":1447},"large-blobs-of-data-without-a-specific-purpose",[1449],{"type":48,"value":1450},"Large blobs of data (without a specific purpose)",{"type":42,"tag":51,"props":1452,"children":1453},{},[1454],{"type":48,"value":1455},"There are legitimate reasons to log large unstructured blobs of data:",{"type":42,"tag":461,"props":1457,"children":1458},{},[1459,1464],{"type":42,"tag":110,"props":1460,"children":1461},{},[1462],{"type":48,"value":1463},"Seeing a full LLM prompt and response may help you understand whether your\nproduct is behaving as expected.",{"type":42,"tag":110,"props":1465,"children":1466},{},[1467],{"type":48,"value":1468},"Logging a webhook body may help you debug issues with an external integration.",{"type":42,"tag":51,"props":1470,"children":1471},{},[1472],{"type":48,"value":1473},"However, logging this type of data has both costs and risks:",{"type":42,"tag":461,"props":1475,"children":1476},{},[1477,1482],{"type":42,"tag":110,"props":1478,"children":1479},{},[1480],{"type":48,"value":1481},"Users may include personal or sensitive information in an LLM prompt.",{"type":42,"tag":110,"props":1483,"children":1484},{},[1485],{"type":48,"value":1486},"Entire HTTP requests and responses may contain access tokens, secrets, or\nother sensitive data.",{"type":42,"tag":51,"props":1488,"children":1489},{},[1490],{"type":48,"value":1491},"When possible, prefer logging the specific fields you expect to query rather\nthan entire payloads.",{"type":42,"tag":449,"props":1493,"children":1495},{"id":1494},"skill-specific-guidance",[1496],{"type":48,"value":1497},"Skill-specific guidance",{"type":42,"tag":51,"props":1499,"children":1500},{},[1501],{"type":48,"value":1502},"The purpose of this skill is to demonstrate good logging practices, not to\nmaximize log coverage.",{"type":42,"tag":51,"props":1504,"children":1505},{},[1506],{"type":48,"value":1507},"Prefer adding a handful of high-value log messages over instrumenting every\npossible code path.",{"type":42,"tag":51,"props":1509,"children":1510},{},[1511],{"type":48,"value":1512},"Each log message should:",{"type":42,"tag":461,"props":1514,"children":1515},{},[1516,1521,1526],{"type":42,"tag":110,"props":1517,"children":1518},{},[1519],{"type":48,"value":1520},"Be immediately useful when debugging production behaviour.",{"type":42,"tag":110,"props":1522,"children":1523},{},[1524],{"type":48,"value":1525},"Demonstrate effective use of structured logging.",{"type":42,"tag":110,"props":1527,"children":1528},{},[1529],{"type":48,"value":1530},"Serve as a practical example that users can follow elsewhere in the codebase.",{"type":42,"tag":51,"props":1532,"children":1533},{},[1534],{"type":48,"value":1535},"For small codebases, add enough representative logs that the result serves as a\npractical model for future instrumentation.",{"type":42,"tag":51,"props":1537,"children":1538},{},[1539],{"type":48,"value":1540},"For large codebases, focus on a few representative locations rather than trying\nto instrument everything.",{"type":42,"tag":51,"props":1542,"children":1543},{},[1544],{"type":48,"value":1545},"Strongly prefer using the SDK's setUser functionality to associate logs with\nthe authenticated user, rather than repeating user identifiers as log attributes.\nOnly include user identifiers as log attributes when they describe something other\nthan the authenticated user.",{"type":42,"tag":449,"props":1547,"children":1549},{"id":1548},"when-the-codebase-already-has-logging",[1550],{"type":48,"value":1551},"When the codebase already has logging",{"type":42,"tag":51,"props":1553,"children":1554},{},[1555],{"type":48,"value":1556},"Before adding new log lines, inspect existing logs and identify gaps.",{"type":42,"tag":51,"props":1558,"children":1559},{},[1560],{"type":48,"value":1561},"Prefer to:",{"type":42,"tag":461,"props":1563,"children":1564},{},[1565,1570,1575],{"type":42,"tag":110,"props":1566,"children":1567},{},[1568],{"type":48,"value":1569},"Improve existing logs by making them structured.",{"type":42,"tag":110,"props":1571,"children":1572},{},[1573],{"type":48,"value":1574},"Add missing context to existing important logs.",{"type":42,"tag":110,"props":1576,"children":1577},{},[1578],{"type":48,"value":1579},"Add logs only where an important production question is currently unanswered.\nPay specific attention to whether the failure is already represented as an\nuncaught exception, and therefore likely captured by Sentry errors.",{"type":42,"tag":1581,"props":1582,"children":1583},"style",{},[1584],{"type":48,"value":1585},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1587,"total":1765},[1588,1613,1627,1642,1656,1673,1689,1703,1713,1724,1734,1752],{"slug":1589,"name":1589,"fn":1590,"description":1591,"org":1592,"tags":1593,"stars":1610,"repoUrl":1611,"updatedAt":1612},"xcodebuildmcp","build and test Apple apps with XcodeBuildMCP","Official skill for XcodeBuildMCP. Use when doing iOS\u002FmacOS\u002FwatchOS\u002FtvOS\u002FvisionOS work (build, test, run, debug, log, UI automation).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1594,1597,1600,1603,1604,1607],{"name":1595,"slug":1596,"type":16},"Debugging","debugging",{"name":1598,"slug":1599,"type":16},"iOS","ios",{"name":1601,"slug":1602,"type":16},"macOS","macos",{"name":9,"slug":8,"type":16},{"name":1605,"slug":1606,"type":16},"Testing","testing",{"name":1608,"slug":1609,"type":16},"Xcode","xcode",6176,"https:\u002F\u002Fgithub.com\u002Fgetsentry\u002FXcodeBuildMCP","2026-04-06T18:13:34.8719",{"slug":1614,"name":1614,"fn":1615,"description":1616,"org":1617,"tags":1618,"stars":1610,"repoUrl":1611,"updatedAt":1626},"xcodebuildmcp-cli","build and test Apple apps via CLI","Official skill for the XcodeBuildMCP CLI. Use when doing iOS\u002FmacOS\u002FwatchOS\u002FtvOS\u002FvisionOS work (build, test, run, debug, log, UI automation).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1619,1622,1623,1624,1625],{"name":1620,"slug":1621,"type":16},"CLI","cli",{"name":1598,"slug":1599,"type":16},{"name":1601,"slug":1602,"type":16},{"name":1605,"slug":1606,"type":16},{"name":1608,"slug":1609,"type":16},"2026-04-06T18:13:36.13414",{"slug":1628,"name":1628,"fn":1629,"description":1630,"org":1631,"tags":1632,"stars":1639,"repoUrl":1640,"updatedAt":1641},"agents-md","maintain project instruction files","Creates and maintains concise AGENTS.md and CLAUDE.md project instruction files. Use when asked to create AGENTS.md, update AGENTS.md, maintain agent docs, set up CLAUDE.md, document repository agent conventions, or keep coding-agent instructions minimal and reference-backed.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1633,1636],{"name":1634,"slug":1635,"type":16},"Documentation","documentation",{"name":1637,"slug":1638,"type":16},"Engineering","engineering",861,"https:\u002F\u002Fgithub.com\u002Fgetsentry\u002Fskills","2026-05-15T06:16:29.695991",{"slug":1643,"name":1643,"fn":1644,"description":1645,"org":1646,"tags":1647,"stars":1639,"repoUrl":1640,"updatedAt":1655},"blog-writing-guide","write and review engineering blog posts","Write, review, and improve blog posts for the Sentry engineering blog following Sentry's specific writing standards, voice, and quality bar. Use this skill whenever someone asks to write a blog post, draft a technical article, review blog content, improve a draft, write a product announcement, create an engineering deep-dive, or produce any written content destined for the Sentry blog or developer audience. Also trigger when the user mentions \"blog post,\" \"blog draft,\" \"write-up,\" \"announcement post,\" \"engineering post,\" \"deep dive,\" \"postmortem,\" or asks for help with technical writing for Sentry. Even if the user just says \"help me write about [feature\u002Ftopic]\" — if it sounds like it could become a Sentry blog post, use this skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1648,1651,1652],{"name":1649,"slug":1650,"type":16},"Communications","communications",{"name":9,"slug":8,"type":16},{"name":1653,"slug":1654,"type":16},"Technical Writing","technical-writing","2026-05-15T06:16:33.38217",{"slug":1657,"name":1657,"fn":1658,"description":1659,"org":1660,"tags":1661,"stars":1639,"repoUrl":1640,"updatedAt":1672},"brand-guidelines","write copy following Sentry brand guidelines","Write copy following Sentry brand guidelines. Use when writing UI text, error messages, empty states, onboarding flows, 404 pages, documentation, marketing copy, or any user-facing content. Covers both Plain Speech (default) and Sentry Voice tones.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1662,1665,1668,1669],{"name":1663,"slug":1664,"type":16},"Branding","branding",{"name":1666,"slug":1667,"type":16},"Content Creation","content-creation",{"name":9,"slug":8,"type":16},{"name":1670,"slug":1671,"type":16},"UX Copy","ux-copy","2026-05-15T06:16:22.395707",{"slug":1674,"name":1674,"fn":1675,"description":1676,"org":1677,"tags":1678,"stars":1639,"repoUrl":1640,"updatedAt":1688},"claude-settings-audit","generate Claude Code settings permissions","Analyze a repository to generate recommended Claude Code settings.json permissions. Use when setting up a new project, auditing existing settings, or determining which read-only bash commands to allow. Detects tech stack, build tools, and monorepo structure.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1679,1682,1685],{"name":1680,"slug":1681,"type":16},"Claude Code","claude-code",{"name":1683,"slug":1684,"type":16},"Configuration","configuration",{"name":1686,"slug":1687,"type":16},"Security","security","2026-05-15T06:16:44.335977",{"slug":1690,"name":1690,"fn":1691,"description":1692,"org":1693,"tags":1694,"stars":1639,"repoUrl":1640,"updatedAt":1702},"code-review","perform code reviews for Sentry projects","Perform code reviews following Sentry engineering practices. Use when reviewing pull requests, examining code changes, or providing feedback on code quality. Covers security, performance, testing, and design review.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1695,1697,1698,1701],{"name":1696,"slug":1690,"type":16},"Code Review",{"name":1637,"slug":1638,"type":16},{"name":1699,"slug":1700,"type":16},"Performance","performance",{"name":1686,"slug":1687,"type":16},"2026-05-15T06:16:35.824864",{"slug":1704,"name":1704,"fn":1705,"description":1706,"org":1707,"tags":1708,"stars":1639,"repoUrl":1640,"updatedAt":1712},"code-simplifier","simplify and refine source code","Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when asked to \"simplify code\", \"clean up code\", \"refactor for clarity\", \"improve readability\", or review recently modified code for elegance. Focuses on project-specific best practices.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1709],{"name":1710,"slug":1711,"type":16},"Code Analysis","code-analysis","2026-05-15T06:16:32.127981",{"slug":1714,"name":1714,"fn":1715,"description":1716,"org":1717,"tags":1718,"stars":1639,"repoUrl":1640,"updatedAt":1723},"commit","create commits with Sentry conventions","Use for every request to commit changes or draft a commit message. Creates Sentry-style conventional commits with issue references.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1719,1722],{"name":1720,"slug":1721,"type":16},"Git","git",{"name":9,"slug":8,"type":16},"2026-07-18T05:15:10.723937",{"slug":1725,"name":1725,"fn":1726,"description":1727,"org":1728,"tags":1729,"stars":1639,"repoUrl":1640,"updatedAt":1733},"create-branch","create git branches for Sentry workflows","Create a git branch following Sentry naming conventions. Use when asked to \"create a branch\", \"new branch\", \"start a branch\", \"make a branch\", \"switch to a new branch\", or when starting new work on the default branch.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1730,1731,1732],{"name":1637,"slug":1638,"type":16},{"name":1720,"slug":1721,"type":16},{"name":9,"slug":8,"type":16},"2026-05-15T06:16:39.458431",{"slug":1735,"name":1735,"fn":1736,"description":1737,"org":1738,"tags":1739,"stars":1639,"repoUrl":1640,"updatedAt":1751},"django-access-review","review Django access control and IDOR","Django access control and IDOR security review. Use when reviewing Django views, DRF viewsets, ORM queries, or any Python\u002FDjango code handling user authorization. Trigger keywords: \"IDOR\", \"access control\", \"authorization\", \"Django permissions\", \"object permissions\", \"tenant isolation\", \"broken access\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1740,1743,1744,1747,1750],{"name":1741,"slug":1742,"type":16},"Access Control","access-control",{"name":1710,"slug":1711,"type":16},{"name":1745,"slug":1746,"type":16},"Django","django",{"name":1748,"slug":1749,"type":16},"Python","python",{"name":1686,"slug":1687,"type":16},"2026-05-15T06:16:43.098698",{"slug":1753,"name":1753,"fn":1754,"description":1755,"org":1756,"tags":1757,"stars":1639,"repoUrl":1640,"updatedAt":1764},"django-perf-review","review and optimize Django performance","Django performance code review. Use when asked to \"review Django performance\", \"find N+1 queries\", \"optimize Django\", \"check queryset performance\", \"database performance\", \"Django ORM issues\", or audit Django code for performance problems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1758,1759,1762,1763],{"name":1696,"slug":1690,"type":16},{"name":1760,"slug":1761,"type":16},"Database","database",{"name":1745,"slug":1746,"type":16},{"name":1699,"slug":1700,"type":16},"2026-05-15T06:16:24.832813",88,{"items":1767,"total":1869},[1768,1784,1799,1815,1827,1841,1856],{"slug":1769,"name":1769,"fn":1770,"description":1771,"org":1772,"tags":1773,"stars":21,"repoUrl":22,"updatedAt":1783},"sentry-android-sdk","setup Sentry SDK for Android","Full Sentry SDK setup for Android. Use when asked to \"add Sentry to Android\", \"install sentry-android\", \"setup Sentry in Android\", or configure error monitoring, tracing, profiling, session replay, or logging for Android applications. Supports Kotlin and Java codebases.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1774,1777,1778,1779,1782],{"name":1775,"slug":1776,"type":16},"Android","android",{"name":1595,"slug":1596,"type":16},{"name":14,"slug":15,"type":16},{"name":1780,"slug":1781,"type":16},"SDK","sdk",{"name":9,"slug":8,"type":16},"2026-07-12T06:08:32.396344",{"slug":1785,"name":1785,"fn":1786,"description":1787,"org":1788,"tags":1789,"stars":21,"repoUrl":22,"updatedAt":1798},"sentry-browser-sdk","setup Sentry error monitoring for browser applications","Full Sentry SDK setup for browser JavaScript. Use when asked to \"add Sentry to a website\", \"install @sentry\u002Fbrowser\", or configure error monitoring, tracing, session replay, or logging for vanilla JavaScript, jQuery, static sites, or WordPress.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1790,1791,1794,1797],{"name":1595,"slug":1596,"type":16},{"name":1792,"slug":1793,"type":16},"JavaScript","javascript",{"name":1795,"slug":1796,"type":16},"Monitoring","monitoring",{"name":9,"slug":8,"type":16},"2026-07-18T05:47:44.437436",{"slug":1800,"name":1800,"fn":1801,"description":1802,"org":1803,"tags":1804,"stars":21,"repoUrl":22,"updatedAt":1814},"sentry-cloudflare-sdk","setup Sentry monitoring for Cloudflare","Full Sentry SDK setup for Cloudflare Workers and Pages. Use when asked to \"add Sentry to Cloudflare Workers\", \"install @sentry\u002Fcloudflare\", or configure error monitoring, tracing, logging, crons, or AI monitoring for Cloudflare Workers, Pages, Durable Objects, Queues, Workflows, or Hono on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1805,1808,1811,1812,1813],{"name":1806,"slug":1807,"type":16},"Cloudflare","cloudflare",{"name":1809,"slug":1810,"type":16},"Edge Functions","edge-functions",{"name":1795,"slug":1796,"type":16},{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},"2026-07-11T05:53:25.361175",{"slug":1816,"name":1816,"fn":1817,"description":1818,"org":1819,"tags":1820,"stars":21,"repoUrl":22,"updatedAt":1826},"sentry-cocoa-sdk","integrate Sentry SDK into Apple applications","Full Sentry SDK setup for Apple platforms (iOS, macOS, tvOS, watchOS, visionOS). Use when asked to \"add Sentry to iOS\", \"add Sentry to Swift\", \"install sentry-cocoa\", or configure error monitoring, tracing, profiling, session replay, logging, or metrics for Apple applications. Supports SwiftUI and UIKit.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1821,1822,1823,1824,1825],{"name":1598,"slug":1599,"type":16},{"name":1601,"slug":1602,"type":16},{"name":1795,"slug":1796,"type":16},{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},"2026-07-11T05:52:57.042493",{"slug":1828,"name":1828,"fn":1829,"description":1830,"org":1831,"tags":1832,"stars":21,"repoUrl":22,"updatedAt":1840},"sentry-dotnet-sdk","setup Sentry SDK for .NET","Full Sentry SDK setup for .NET. Use when asked to \"add Sentry to .NET\", \"install Sentry for C#\", or configure error monitoring, tracing, profiling, logging, or crons for ASP.NET Core, MAUI, WPF, WinForms, Blazor, Azure Functions, or any other .NET application.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1833,1836,1837,1838,1839],{"name":1834,"slug":1835,"type":16},".NET","net",{"name":1595,"slug":1596,"type":16},{"name":14,"slug":15,"type":16},{"name":1780,"slug":1781,"type":16},{"name":9,"slug":8,"type":16},"2026-07-12T06:08:33.793148",{"slug":1842,"name":1842,"fn":1843,"description":1844,"org":1845,"tags":1846,"stars":21,"repoUrl":22,"updatedAt":1855},"sentry-elixir-sdk","setup Sentry SDK for Elixir","Full Sentry SDK setup for Elixir. Use when asked to \"add Sentry to Elixir\", \"install sentry for Elixir\", or configure error monitoring, tracing, logging, or crons for Elixir, Phoenix, or Plug applications. Supports Phoenix, Plug, LiveView, Oban, and Quantum.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1847,1850,1853,1854],{"name":1848,"slug":1849,"type":16},"Backend","backend",{"name":1851,"slug":1852,"type":16},"Elixir","elixir",{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},"2026-07-11T05:53:11.69581",{"slug":1857,"name":1857,"fn":1858,"description":1859,"org":1860,"tags":1861,"stars":21,"repoUrl":22,"updatedAt":1868},"sentry-fix-issues","fix production issues with Sentry","Find and fix issues from Sentry using MCP. Use when asked to fix Sentry errors, debug production issues, investigate exceptions, or resolve bugs reported in Sentry. Methodically analyzes stack traces, breadcrumbs, traces, and context to identify root causes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1862,1863,1866,1867],{"name":1595,"slug":1596,"type":16},{"name":1864,"slug":1865,"type":16},"Incident Response","incident-response",{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},"2026-07-12T06:08:35.550824",27]