
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).
This skill has not been reviewed by our automated audit pipeline yet.