Laravel Nightwatch Cloud
Official first-party APM from the Laravel team, with a documented Vapor setup.
nightwatch.laravel.comVapor runs on AWS Lambda, so agent-based APMs need a separate agent host in your VPC.
No credit card needed.
What's the best APM for Laravel Vapor?
Laravel Nightwatch Cloud is the first-party pick from the Laravel team. Its agent can't run inside Vapor, so it runs on a separate EC2 or Forge server in your VPC. NightOwl (our product) runs on Vapor with the same two-host pattern, at a flat plan price, with the telemetry in your own PostgreSQL. Sentry is a strong alternative for polyglot stacks, and its SDK sends straight from Lambda. AppSignal doesn't document Lambda support, and Datadog doesn't officially support PHP on Lambda. CloudWatch Insights covers basic log search.
Updated
How each tool fits Vapor's Lambda runtime, and what it costs, before the details.
| Tool | Fit with Vapor | Price |
|---|---|---|
| 1. Laravel Nightwatch Cloud | The Nightwatch agent can't run inside your Vapor app. It runs on a separate EC2 or Forge server in the same VPC, and the Lambda functions send telemetry to it over the private network. | $0 for 300K events/mo, then $20 Pro for 7.5M, extra events opt-in |
| 2. NightOwl | The same two-host setup as Nightwatch. The agent runs on an EC2 or Forge server in the same VPC, and NIGHTOWL_INGEST_URI on the Vapor app points at its private address. The Lambda functions need no database credentials, since only the agent host writes to PostgreSQL. | $5/mo Hobby, $15/mo Team, $69/mo Agency, flat |
| 3. Sentry | Runs inside the Lambda function with no extra host. With tracing configured, trace context carries across your other services. | $26/mo → usage-based (per error + per span) |
| 4. AppSignal | AppSignal doesn't document Lambda or Vapor support. The PHP package needs PHP 8.4+, so test it on your Vapor runtime before you rely on it. | $0 (30K requests/mo) → $25/mo for 250K requests |
| 5. Datadog APM + Lambda Extension | Datadog's Lambda Extension doesn't officially support PHP, and the feature request (dd-trace-php#1207) was closed as stale in September 2026. Any Vapor setup is unsupported. On supported runtimes the Extension adds about 70ms to cold starts. | Serverless billing per function and per invocation, not per host |
| 6. CloudWatch + Insights | Lambda output lands in CloudWatch by default, so there is nothing to set up. | $0.50/GB ingested + query cost |
Each tool with its price, how it fits and who it suits.
Official first-party APM from the Laravel team, with a documented Vapor setup.
nightwatch.laravel.comOur product. Built on laravel/nightwatch, with a hosted dashboard and your telemetry in your own PostgreSQL at a flat price.
usenightowl.comAn SDK that sends over HTTP straight from Lambda, with strong error tracking and performance spans.
sentry.ioEnterprise APM with a Lambda Extension. PHP isn't an officially supported Lambda runtime.
www.datadoghq.comAWS's built-in log storage and query tool, billed per GB ingested and per query.
aws.amazon.com/cloudwatch/The agent buffers in a local SQLite file and drains to your PostgreSQL, which is why it lives on a long-running host rather than inside a Lambda invocation. Deploy the same release to the Vapor app and the agent host, and keep the ingest port reachable only from your Vapor subnet. The full setup, including the security-group rule for the ingest port, is in the Vapor guide in the docs.
Anything else, write to support@usenightowl.com
Yes, with a two-host setup. The NightOwl agent is a long-running daemon with a local SQLite buffer, so it can't run inside a Lambda invocation. Run it on a long-running server in the same VPC (an EC2 instance or a Forge server) and set NIGHTOWL_INGEST_URI on the Vapor app to that server's private address. The Lambda functions send telemetry to the agent over the private network, and only the agent host writes to your PostgreSQL. It's the same pattern Nightwatch uses on Vapor. The setup steps are at docs.usenightowl.com/agent/vapor.
Laravel Nightwatch Cloud is the first-party pick from the Laravel team. Its agent can't run inside Vapor, so it runs on a separate EC2 or Forge server in your VPC. NightOwl (our product) uses the same two-host setup, charges a flat plan price and keeps the telemetry in your own PostgreSQL. Sentry's SDK sends straight from the Lambda function and suits polyglot stacks or teams that want source-map JS error tracking. AppSignal doesn't document Lambda support, and Datadog doesn't officially support PHP on Lambda, so test either one before you commit.
Detect cold starts in a middleware (the first request a Lambda container handles is a cold start) and tag the telemetry event. Split p95 into cold and warm requests, since the two tell different stories. Our Laravel Vapor monitoring guide has the code.
Vapor's dashboard shows Lambda execution metrics (invocation count, duration, errors per function) via CloudWatch integration. That's useful but not a full APM: it doesn't group queries by pattern, group exceptions with alerts, or aggregate p95 per route. Add an APM on top for those.
Yes. NightOwl keeps the telemetry in your own PostgreSQL: the agent runs on a long-running host in your VPC and the Vapor app sends to it. Beyond that, you can ship CloudWatch logs to a Loki or OpenSearch cluster you run for log aggregation, and the OpenTelemetry PHP SDK can ship traces to a Tempo instance you run. Running a full observability stack next to Vapor takes back some of the operations work Vapor saves you.
Usage-based pricing grows with volume, and the bill depends heavily on the vendor and on how much you instrument. Run your real monthly event counts through each vendor's pricing page before you choose. NightOwl charges a flat plan price and stores the data in your own PostgreSQL, so on Vapor the costs that grow with traffic are the agent host and your database.
Every plan starts with a 14-day free trial. No credit card needed.
One app for a side project. Issues and alerts, with a 14-day dashboard window.
Start my 14-day trialUp to 3 apps and 5 people per team. Full history, the MCP server, data clearing and agent health.
Start my 14-day trialUnlimited client apps and people, one overview of every app, and apps you can hand over.
Start my 14-day trialPoint NIGHTOWL_INGEST_URI at an EC2 or Forge server in your VPC and your Lambda traffic shows up in NightOwl. No credit card needed.