Implement high-context canonical logging and intelligent tail sampling for production-grade observability and cost-efficient debugging.
This skill equips Claude with the expertise of an observability architect to transform fragmented, text-based logs into structured, queryable wide events. It focuses on the 'canonical log line' pattern—emitting a single, data-rich event per request that captures technical metadata, business context, and feature flag states. By implementing intelligent tail sampling strategies, it allows teams to retain 100% of high-value signals such as errors and slow requests while dramatically reducing storage costs for routine traffic, making production debugging significantly more effective.
Key Features
01PII redaction and security-first logging layers
02Intelligent tail sampling logic for cost optimization
030 GitHub stars
04Schema normalization for cross-service correlation
05Canonical wide-event structure design
06Business and technical context enrichment patterns
Use Cases
01Reducing observability costs without losing critical debugging data
02Enriching technical logs with business context like user tier and feature flags
03Replacing scattered diary-style logs with queryable request-scoped events