laravel/nightwatch
Official Laravel Nightwatch package gathers performance metrics inside your Laravel application and securely transmits them to the Nightwatch hosted monitoring platform, delivering deep, Laravel-optimized insights into your app's performance for unparalleled visibility.
nightwatch:deploy command and deploy-UUID tracking let you tie error-rate and latency changes to a specific release, which supports decisions like widening a canary, gating a rollout, or holding a Friday deploy.Consider adoption when:
dontReport semantics, sampling) that generic APM agents approximate poorly.Look elsewhere when:
composer require. If data cannot leave your boundary or a specific jurisdiction, pursue self-hosted (Telescope, OpenTelemetry + your own backend) instead.Risk notes to weigh honestly: the repository shows low star count and effectively zero dependent packages. That is unsurprising for a first-party agent package and is not a stability red flag — the maintainers are Laravel core figures and release cadence is high — but it does mean thin community answers, few third-party tutorials, and no peer benchmarks to calibrate against. Maturity artifacts are limited to README, changelog, and releases; the substantive documentation lives on the vendor site, outside your repo and outside your control.
To executives: We are proposing a buy decision for application monitoring, not a build. Nightwatch is Laravel's official hosted monitoring platform; the package in our codebase is the small, MIT-licensed agent that reports to it. The upside is time-to-value measured in days, vendor-backed support from the framework's own maintainers, and no headcount spent operating a metrics pipeline. The downside is a recurring SaaS cost and vendor dependency for a core operational capability. Recommendation: approve a scoped pilot on one production service for one quarter, with pre-agreed success criteria (mean-time-to-diagnosis reduction, share of incidents caught before customer report) and a documented exit path. We should not sign a multi-year commitment on the strength of a README.
To engineering: This is instrumentation, not architecture. It hooks into the framework and gives us exception grouping with framework-aware unwrapping, query and N+1 signal, queue and scheduler visibility, release tracking via nightwatch:deploy, and sampling plus per-app/per-env event limits so we can cap ingest cost. It respects ExceptionHandler::dontReport, so we are not re-litigating our existing ignore rules. The tradeoffs are real: a network hop and serialization cost on the hot path, a new external dependency in the boot sequence, and an agent whose behavior we cannot patch ourselves. Instrument one service, measure overhead, and report back before we standardize.
Ask, stated plainly: one service, one quarter, a pricing model at our actual peak event volume, a security review covering exactly what payloads leave our infrastructure, and written answers on data retention, export, and contractual exit. If any of those four come back unacceptable, the correct decision is to decline and revisit when we have a polyglot or self-hosted requirement that changes the calculus.
How can I help you explore Laravel packages today?