Telescope is one of the best things about developing in Laravel and one of the worst things you can leave running in production, and the gap between those two facts catches a lot of teams out. The short version: it's a debugger, not a monitor. The longer version is worth understanding so you know exactly where the line sits and what to do if you've already crossed it.
What Telescope is designed for
Telescope is Laravel's official development debugger, a first-party package for inspecting requests, queries, jobs, cache events, and more during development and in staging. It's excellent at that job.
Production is a different problem. You don't need a per-request inspector with full payloads; you need aggregated views across thousands of requests per minute, long-term trending, grouped exceptions, and alerts when things regress.
Why it hurts in production
- DB writes from the worker: every recorded request writes one row per entry to telescope_entries at the end of the request. That runs after the response is sent, but it still holds the PHP worker and loads your primary database.
- Storage explosion: 1,000 req/min at 20 entries each = 28.8 million rows/day. Telescope's prune command helps but your primary DB shouldn't be a telemetry store.
- No aggregation: no p95 per route, no fingerprint-grouped exceptions, no failure-rate trending. You inspect individual requests, not patterns.
- No alerting: Telescope shows errors but won't page you.
- Retention is up to you:
telescope:prunedeletes old entries (older than 24 hours by default), but only once you schedule it. - Access depends on one gate: outside local,
/telescopeis only open to users in theviewTelescopegate. It starts empty, and widening it carelessly exposes full request payloads.
If you're going to run it in production anyway
Low-traffic apps sometimes get away with it. Minimum protections:
use Illuminate\Support\Collection;
use Laravel\Telescope\IncomingEntry;
use Laravel\Telescope\Telescope;
public function register(): void
{
// Sample: keep 10% of requests in production. filterBatch sees all
// of one request's entries at once, so a request is kept or dropped
// whole (Telescope::filter would drop individual entries instead).
Telescope::filterBatch(function (Collection $entries) {
if ($this->app->environment('local')) {
return true;
}
if ($entries->contains(fn (IncomingEntry $entry) =>
$entry->isReportableException()
|| $entry->isFailedRequest()
|| $entry->isFailedJob()
)) {
return true;
}
return random_int(1, 100) <= 10;
});
// Redact any sensitive request fields
Telescope::hideRequestParameters(['password', 'password_confirmation', 'credit_card']);
Telescope::hideRequestHeaders(['authorization', 'cookie', 'x-api-key']);
}
Keep the viewTelescope gate limited to the people who need it. Schedule telescope:prune --hours=48 hourly. Point Telescope's storage at a separate database connection (storage.database.connection in config/telescope.php) if you can. These mitigations make it tolerable, not good.
The alternatives
- Laravel Nightwatch Cloud: official first-party, a free plan with 300K events/month and paid plans with larger monthly quotas.
- NightOwl: BYOD PostgreSQL dashboard on the same Nightwatch instrumentation, from $5/month flat.
- Sentry, Inspector.dev, Scout APM: generic or Laravel-aware APMs, various pricing models.
A common setup is Telescope locally and in staging, where it does its best work, and a dedicated APM in production.