The configuration file is config/pulse.php, the same file as Laravel Pulse. Recorders and their options are unchanged from upstream; see the Laravel Pulse docs. This page lists the top-level options and what differs here.
Environment variables
| Variable | Default | Purpose |
|---|---|---|
PULSE_DOMAIN |
null |
Subdomain for the dashboard |
PULSE_PATH |
pulse |
Dashboard path |
PULSE_ENABLED |
true |
Master switch for all recorders |
PULSE_STORAGE_DRIVER |
database |
Storage driver |
PULSE_STORAGE_KEEP |
7 days |
How long storage keeps entries |
PULSE_DB_CONNECTION |
null |
Database connection for the database driver |
PULSE_INGEST_DRIVER |
storage |
Ingest driver: storage, redis or null |
PULSE_INGEST_BUFFER |
5000 |
Buffer size before an ingest |
PULSE_INGEST_KEEP |
7 days |
How long the ingest keeps entries |
PULSE_REDIS_CONNECTION |
null |
Redis connection for the redis ingest |
PULSE_CACHE_DRIVER |
null |
Cache store used by Pulse |
PULSE_SERVER_NAME |
gethostname() |
Name of this server |
PULSE_SERVER_DIRECTORIES |
/ |
Colon-separated directories to monitor |
Storage
'storage' => [ 'driver' => env('PULSE_STORAGE_DRIVER', 'database'), 'trim' => [ 'keep' => env('PULSE_STORAGE_KEEP', '7 days'), ], 'database' => [ 'connection' => env('PULSE_DB_CONNECTION'), 'chunk' => 1000, ],],
Upstream always binds DatabaseStorage, whatever pulse.storage.driver says. Here the setting works: Laravel\Pulse\Fiber\Storage\StorageManager is a standard Laravel Manager, and Storage::class resolves through it.
PULSE_STORAGE_DRIVER=database
To register your own driver, see Examples.
Octane and long-lived workers
StorageManager caches the driver instance per application instance, like every Laravel Manager. If you change pulse.storage.* config after the first resolve, call app(StorageManager::class)->forgetDrivers() so the next resolve picks it up. The storage mutexes are static and keyed by connection name, so they live for the whole worker process.
Ingest
'ingest' => [ 'driver' => env('PULSE_INGEST_DRIVER', 'storage'), 'buffer' => env('PULSE_INGEST_BUFFER', 5_000), 'trim' => [ 'lottery' => [1, 1_000], 'keep' => env('PULSE_INGEST_KEEP', '7 days'), ], 'redis' => [ 'connection' => env('PULSE_REDIS_CONNECTION'), 'chunk' => 1000, ],],
The ingest driver is chosen as upstream does (storage, redis, or null), with one difference: the redis driver uses FledgeRedisIngest when the configured connection is a Fledge Redis connection (REDIS_CLIENT=fledge), and upstream's RedisIngest otherwise. An unknown driver name throws Unknown ingest driver [name]..
Note: The Fledge Redis pipeline runs on a bounded pool of fibers. The bound is the
PIPELINE_FIBERSclass constant (256) onFledgeRedisAdapter. The class is internal and the bound is not configurable: it is not read fromconfig/pulse.php, and a subclass cannot override it.