What problem does it solve?
This skill provides guidelines for implementing comprehensive, wide-event logging across services. It helps teams create context-rich, structured log lines that enable fast debugging, analytics, and observability.
Core Features & Use Cases
- Wide events pattern: emit a single, context-rich event per request per service to replace scattered logs and improve queryability.
- High cardinality & dimensionality: includes user, request, session, and business context to support powerful filtering and analysis.
- Environment and consistency: middleware automatically enriches logs with environment data (version, region, deploy id) and enforces a single JSON schema.
- Use cases: debugging distributed failures, monitoring service health, and correlating events across microservices.
Quick Start
Install a single JSON logger at startup, implement a middleware to collect and emit wide events, and wrap handlers to enrich with business context. Ensure environment context is captured once and included in every event. Start producing queryable, structured logs for rapid debugging.