
Configure Nightwatch
This handles the full spectrum of Nightwatch configuration, from sampling strategies to PII redaction. You'll want this when your production trace volume gets expensive or you're capturing sensitive data you shouldn't be storing. The filtering flow is well explained: sampling controls which requests/commands start a trace, filtering drops specific event types after sampling, and redaction scrubs what you do keep. Includes practical patterns for route-based sampling (always sample checkout, never sample health checks), regex-based query filtering to ignore job table noise, and cache key patterns to skip session data. The three-stage pipeline diagram alone makes the sampling vs. filtering distinction clear, which most people get wrong initially.
- skills.sh installs
- 408
- GitHub stars
- 737
- last updated
- Jun 11, 2026
Install
$ npx -y skills add laravel/agent-skills --skill configure-nightwatch --agent claude-codeInstalls into .claude/skills of the current project.
Files
Nightwatch Configuration Guide
This skill helps configure Laravel Nightwatch data collection to balance observability, performance, and privacy. Covers sampling strategies, filtering rules, and redaction methods across all event types.
Documentation Reference
The Nightwatch Documentation is the definitive and up-to-date source of information for all Nightwatch configuration options. This skill provides practical guidance and common patterns, but always consult the official documentation as the primary source of truth for specific details, environment variables, and API behavior. The documentation includes comprehensive coverage of:
Sponsors
Details
- Repository
- github.com/laravel/agent-skills
- Categories
- AI & Agent Building, PHP & Laravel
- First seen
- Jun 11, 2026