DevOps

/laravel-agent:pulse:setup

Setup Laravel Pulse for production monitoring

Overview

Setup Laravel Pulse for real-time production monitoring with application performance insights, slow queries, exceptions, cache usage, queue health, and server metrics.

Usage

/laravel-agent:pulse:setup [--with-server-metrics] [--custom-recorders]

Examples

/laravel-agent:pulse:setup                        # Full setup
/laravel-agent:pulse:setup --with-server-metrics  # Include server CPU/memory
/laravel-agent:pulse:setup --custom-recorders     # Add custom metric recorders

Recorders

Recorder Metrics
Servers CPU, memory usage
Requests Request count, slow requests
Queues Queue depth, jobs processed
Cache Hit rate, misses
SlowQueries Queries over threshold
Exceptions Exception count by type

Installation

# Install Pulse
composer require laravel/pulse

# Publish configuration
php artisan vendor:publish --provider="Laravel\Pulse\PulseServiceProvider"
php artisan migrate

Server Metrics

# Add to scheduler
Schedule::command('pulse:check')->everyFiveSeconds();

Telescope vs Pulse

Feature Telescope Pulse
Purpose Debugging Monitoring
Environment Development Production
Detail Level Very detailed Aggregated
Performance Heavier Lightweight

See Also