backend-observability

Solid

Implement correlated errors, traces, and structured logs with PII redaction. Use when "add logging", "instrument this", "correlate error to trace", or wiring Sentry/Langfuse. Plan-only observability audit → plan-error-handling. Investigate Sentry issues → debug-sentry-monitor.

Web & Frontend 9 stars 0 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
33
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Observability Instrumentation **Degree of freedom: MIXED.** What to wrap and alert on `[HIGH freedom]`; correlation ids, PII redaction, and the DoD `[LOW freedom — run exactly]`. ## How to reason 1. **Observe** — which ids, logs, spans, and PII already exist 2. **Interpret** — can you pivot error ↔ trace ↔ log ↔ user from any one? 3. **Classify** — add-correlation / convert-console / redact / wrap-span / alert 4. **Severity** — uncorrelated prod 500 outranks a missing debug field ## Worked example > **Observe:** checkout 500 in Sentry has no request_id; pino logs the cart id; no LLM (Langfuse unused). > **Interpret:** cannot pivot error → logs; webhook still `console.log`s. > **Classify:** ALS request_id on logs + `Sentry.setTag`; convert console to pino; redact `Authorization`. > **Verify:** one id on the Sentry event and the log line; `beforeSend` strips the header. ## Self-critique before reporting - **Correlated** — same request/trace id on the log, Sentry, and Langfuse - **Redacted** — deny-list at the logger + `beforeSend`, not per-call hope - **Leveled** — no `console.log` in prod; handled paths are not `error` - **Right owner** — plan-only audit → `plan-error-handling`; investigate a Sentry issue → `debug-sentry-monitor` > The build-time counterpart to your monitoring stack. The Sentry plugin installs the SDK; `debug-sentry-monitor` triages after the fact; `audit-langfuse-llm` audits LLM traces. about instrumenting **correctly while you build** so those tool...

Details

Author
kensaurus
Repository
kensaurus/cursor-kenji
Created
7 months ago
Last Updated
yesterday
Language
JavaScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

backend-observability

Instrument a backend service so failures are diagnosable in production — structured logs, RED/USE metrics, and distributed tracing wired through one correlation id. Use when a service has no observability, when incidents take too long to diagnose, or as the observability step of api-service-scaffold. Vendor-neutral (OpenTelemetry), with concrete cardinality and PII guardrails.

0 Updated 1 months ago
omonuj
Code & Development Listed

observability-slo

Observability and reliability engineering — structured logging, metrics, distributed tracing, correlation ids, error tracking, dashboards, SLIs/SLOs and error budgets, alerting that pages on symptoms rather than causes, on-call practice, incident response and blameless postmortems. Use when the user says "logging", "monitoring", "observability", "metrics", "tracing", "Prometheus", "Grafana", "Datadog", "Sentry", "OpenTelemetry", "SLO", "SLA", "uptime", "alerting", "on-call", "incident", "postmortem", "how do we know if it breaks", "it broke and we didn't notice" or "debugging production"; and as a pass in any project audit. By Devleck.

3 Updated 2 weeks ago
Kin9Zeus
Code & Development Listed

craft-observability

The Craftsman standard for production observability — error tracking (Sentry), metrics & dashboards (Grafana), structured logging, tracing, SLOs, and alerting. Use this WHENEVER the work touches observability: adding or reviewing Sentry, wiring Grafana/Prometheus/OpenTelemetry, setting up structured logs, defining alerts or SLOs, instrumenting a service, or debugging "we have no visibility into X". Trigger even when the user only says "add monitoring", "why can't we see errors", "set up dashboards", or "make this observable" without naming a tool. Deploy, runtime, and CI production-readiness → craft-infra; whole-project readiness → craft-audit.

1 Updated 4 days ago
gul-labs