
from nightwatch350
Practical guidance to configure Laravel Nightwatch: sampling, filtering, and redaction to balance observability, performance, and privacy.
This skill provides a comprehensive, practical guide for configuring Laravel Nightwatch to capture useful observability signals while controlling data volume and protecting sensitive information. It explains sampling strategies (global, route-based, dynamic), filtering rules for event types (queries, cache, mail, notifications, outgoing requests), and redaction patterns to remove or obfuscate PII. The material consolidates patterns, environment variables, middleware examples, and code snippets that agents can apply or present to developers during production rollout.
Use this skill when setting up Nightwatch for a Laravel application, tuning observability in production to reduce costs, creating route- or role-based sampling, protecting sensitive fields in traces, or implementing explicit filters for noisy events. It is suited for ops engineers, SREs, and backend developers preparing Nightwatch for high-traffic environments.
This skill is implementation-focused and works well for agents with shell and PHP editing capabilities (e.g., Code/CLI-capable agents).
A documentation-only skill providing comprehensive guidance on configuring Laravel Nightwatch sampling, filtering, and redaction. No scripts or executable code — purely a reference guide with well-organized code examples. Covers the full configuration surface area including route-based sampling, event filtering, and PII redaction.
Clean documentation skill with no security concerns. Single-file structure, no scripts or references directory. Well-written with clear code examples and good progressive disclosure via official docs links.