본문으로 건너뛰기
cccskills
무료GitHub에 공개

observability

Observability decision guide: structured logs, metrics, traces (OTel), error tracking, alerts, SLOs. Use for: observability, logs, metrics, traces, errors, sentry, otel, prometheus, grafana, alerts.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane스타 3(GitHub 3 + cccskills 0)
연동 도구SlackSentryDatadog

실행 점수 미검증

설치 방법 보기

포함된 파일(2)

  • SKILL.md4.3 KB
  • references/llm-observability.md2.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

observability — Decision Guide

Correlate all pillars via trace_id. Each pillar has distinct tooling, sampling, and retention.

Three Pillars + Error Tracking

PillarAnswersRecommendedAlternative
LogsWhat happened?slog (Go) / pino (TS) → LokiDatadog, Cloud Logging
MetricsHow is it performing?Prometheus + GrafanaDatadog, Cloud Monitoring
TracesWhere is time spent?OpenTelemetry → TempoDatadog APM, Jaeger
ErrorsWhat broke?Sentry (web+BE) / Bugsnag (mobile)Rollbar
AlertingIs it degraded?Alertmanager → Slack/PagerDutyGrafana Alerts

Sentry vs Bugsnag: Sentry for web+backend (broader: replay, profiling, self-host). Bugsnag for mobile-first (stability score, symbolication). One DSN per app per platform.

Structured Logging

LevelWhenExample
DEBUGDev only, never prodSQL queries, internal payloads
INFOBusiness events"order created", "payment processed"
WARNDegraded but recoveredRetry succeeded, rate limit near
ERRORRequires attentionException caught, dependency down
FATALProcess must exitMissing config, port in use

Rules: JSON format, one line per event. trace_id in every line. Access logs include method/path/status/latency/user_id/tenant_id. Exclude healthchecks. Audit logs: separate, append-only, >=1yr retention.

Frontend Observability

  • Error boundaries at route + feature level, reported to Sentry
  • Core Web Vitals (LCP, INP, CLS) tracked, alert on regressions
  • Source maps uploaded in CI, .map files deleted from dist, never served publicly
  • Breadcrumbs (~50 pre-error events) for debugging context
  • Release tracking on every deploy for per-release stability

Alert Design

  • Alert on SLO burn rate, not raw values — avoids false positives from spikes
  • Every alert needs a runbook or clear action — no action = delete it
  • Severity: critical (pages on-call), warning (Slack, next day), info (dashboard only)
  • Error tracker: new prod issue → Slack; regression → reopen; spike >10x → PagerDuty

Sampling & Retention

SignalRateRetention
Errors/crashes100%30d (app), >=1yr (audit/security)
Traces10% prod30d
Logs INFO (hot)1-5%30d hot, 90d cold
Logs ERROR+100%30d hot, 90d cold
Metrics—90d full-res, 1yr downsampled

LLM Features and Agents

LLM calls need cost, token, tool-call and quality signals on top of the three pillars.

→ Read references/llm-observability.md for the fields to record per call, OTel GenAI traces, LLM backends (Langfuse, Helicone, Phoenix), metrics, alerts and SLOs

PII Scrubbing

Never log: passwords, tokens, API keys, identity docs, payment data, minor emails, message content. Redact at logger level: password, token, authorization, secret, cookie fields.

Anti-patterns

  • console.log/fmt.Println in prod — unstructured, not indexable
  • PII in logs/errors — legal risk
  • Source maps public — exposes code; missing maps — useless stacks
  • High-cardinality Prometheus labels (user_id, request_id)
  • 100% trace sampling in prod — cost explosion
  • One project for all apps; no env separation — mixed noise
  • Alerts on info severity; alerts without runbook — fatigue
  • Healthcheck log spam; infinite retention — cost
  • Missing trace_id correlation across boundaries

Checklist

  • JSON logger with trace_id injection + PII scrubber
  • OTel SDK with configurable sampling
  • Error tracking: DSN per env, source maps in CI, release tracking
  • RED metrics exposed (Rate, Error%, Duration p95)
  • Grafana dashboard per service
  • Alerts: error rate, latency p95, crashes, memory + SLO burn-rate
  • Healthchecks excluded from logs/traces
  • Retention policy per signal; audit logs separate + append-only
  • Triage: daily inbox, weekly top-10 prioritization

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

SebastianLuser의 스킬 모두 보기

이 스킬의 문제 신고