laravel/pulse
Laravel Pulse is a real-time performance monitoring tool for Laravel. It provides a dashboard to track application health and key metrics, helping you identify bottlenecks and issues quickly in development and production environments.
pulse:work) and Redis for real-time data ingestion, aligning with Laravel’s event-driven architecture.composer require laravel/pulse, publish config, run migrations). No external dependencies beyond Laravel’s core.Pulse::record() for application-specific metrics (e.g., business KPIs).trim_duration). Large-scale apps may need to optimize storage (e.g., archiving old data)./pulse endpoint; must secure with middleware (e.g., auth:sanctum) to prevent unauthorized access.pulse:check disabled.)pulse:work queue backlog.)trim_duration (e.g., 7d, 30d) balances monitoring needs and storage costs?/pulse endpoint protected, and are there plans to restrict IP ranges or add rate limiting?composer require laravel/pulse.php artisan vendor:publish --provider="Laravel\Pulse\PulseServiceProvider".php artisan migrate..env (e.g., PULSE_TRIM_DURATION=7d, PULSE_REDIS_CONNECTION=cache).pulse.skills.livewire.enabled=true).pulse.thresholds.requests=1000ms)./pulse route (e.g., middleware, IP whitelisting).php artisan pulse:check.php artisan pulse:work.Pulse::record().trim_duration based on storage growth.pulse:work queue performance.5xx errors > 1%).use_upsert_alias in v1.7.4).php artisan pulse:check to diagnose ingestion issues.storage/logs/pulse.log for errors (e.g., Redis connection failures).pulse:work queue backlog.RequireLivewireHeaders middleware is configured.pulse:work workers horizontally (e.g., 1 worker per CPU core).slow_queries skill for bottlenecks.pulse:work queue volume. Use clustering for high-throughput apps.trim_duration to balance retention (e.g., 7d for dev, 30d for prod).queue:failed) to handle pulse:work failures.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Redis downtime | Real |
How can I help you explore Laravel packages today?