Level 1
I checked the source code of the record function and found that the records are first saved in the buffer, and then written to storage. You can specify the environment variable PULSE_INGEST_BUFFER to adjust the buffer size.
I installed the Pulse and am trying to save new entries in tinker:
Laravel\Pulse\Facades\Pulse::record('campaign_metrics', $campaign->external_id, 2)->count();
= Laravel\Pulse\Entry {#5698
+timestamp: 1731328978,
+type: "campaign_metrics",
+key: "120214019683290327",
+value: 2,
}
but I don't see any new entries in the pulse_entries table.
I tried running commands php artisan pulse:work and php artisan pulse:check, but nothing changes, new records are not saved. At the same time, I see that records in the pulse_aggregates table about the state of memory and CPU appear.
How to add new entries?
I checked the source code of the record function and found that the records are first saved in the buffer, and then written to storage. You can specify the environment variable PULSE_INGEST_BUFFER to adjust the buffer size.
Please or to participate in this conversation.