Pulse isn’t in the stores yet. This documentation describes the app as it will ship. Notify me at launch ›
Overview
A package in your app sends Pulse a heartbeat, the state of your database, Redis, queues, and scheduled jobs, and your logs. Packages exist for Node, PHP, Python, and Go.
From the Free plan, logs and live mode on Pro and Team. Results on iPhone, iPad, Mac and Android.
What a package does#
The package runs inside your app’s process, or right next to it in PHP. At a regular interval it sends Pulse a report, and that report is the heartbeat. It can also add the state of your dependencies, scheduled jobs, and versions. On Pro and Team, it also sends logs.
npx @pulse-si/init pk_live_…- package.json@pulse-si/nest or @pulse-si/next.
- .env, .env.localPULSE_KEY, readable only by you, added to .gitignore.
- app.module.ts, instrumentation.tsPulseModule.forRoot() for NestJS, startPulse() for Next.js.
The command never calls Pulse: the key stays in your project.
You restart the app, and the package starts with it.
- /ingest/report2 s after startup, then at the app’s interval: 5 min at the shortest on Free, 30 s on Pro and Team.
- /ingest/logsEvery 10 s, on Pro and Team.
- Someone is viewing the appReport every 5 s, logs every second, on Pro and Team.
Laravel, Symfony, Python and Go are installed by hand, then send the same reports.
Choose a package#
| Your app | Package | Install | Requires |
|---|---|---|---|
| NestJS | @pulse-si/nest | npx @pulse-si/init pk_live_… | Node 18.17, NestJS 10 to 12 |
| Next.js | @pulse-si/next | npx @pulse-si/init pk_live_… | Node 18.17, Next.js 14 |
| Laravel | pulse-si/laravel | composer require pulse-si/laravel | PHP 8.1, Laravel 10 to 13 |
| Symfony | pulse-si/symfony | composer require pulse-si/symfony | PHP 8.1, Symfony 6.4 to 8 |
| Django, FastAPI, Flask, script | pulse-python | pip install pulse-python | Python 3.9 |
| net/http, gin, echo, chi, fiber | pulse-app.si/go | go get pulse-app.si/go@latest | Go 1.22 |
The versions shown are the oldest accepted. @pulse-si/core and pulse-si/php are the shared cores, installed with your framework’s package.
The app’s key#
- In Pulse, tap Add an App, then The Package.
- Name the app and pick its environment, Prod or Staging. Tap Continue.
- Pulse shows the steps for your framework along with the key:
pk_live_…in production,pk_test_…in staging. - Put it in your app’s
PULSE_KEYvariable, and keep it out of version control.
This key can only write this app’s state and gives no access to your account. It’s sent over HTTPS, in a header, never in a URL. If it leaks, go to App Settings › Package Key › Create New Key. The old one stops working right away.
What is sent and what isn’t#
| Data | When | Setting |
|---|---|---|
| Heartbeat, package name and version, framework | Always | None |
| Dependency state: name, type, success, response time | By default | checks |
| Scheduled jobs: schedule, runs, success | By default | crons |
| Framework and app versions, startup time | By default | versions |
| Logs, with secrets masked | By default, if your plan keeps them | logs |
No queries, no business data and no environment variables are sent. The package uses your already connected clients, so it’s never given a database password. Any password that turns up in an error message is masked. For the field-by-field details, see Exactly what is sent.
How often#
The first report goes out 2 seconds after startup. The next ones follow the app’s interval, which the API returns with each response: 5 minutes at the shortest on Free, 30 seconds on Pro and Team. On Pro and Team, when a device is viewing the app, state goes out every 5 seconds and logs every second. See Frequency and thresholds.
If Pulse doesn’t respond#
The package never brings your app down. If Pulse can’t be reached, you get a single warning and sending resumes automatically. If the key is refused, sending stops until the next startup. Only the track functions hand an error back to you, and it’s your own job’s error. Package messages are written in English, whatever the system language.
- npx @pulse-si/init
The command for NestJS and Next.js, and what it touches.
- All variables
Every setting and its default.
- URL, signal or package
Pick the right method for an app.
Still missing an answer? Contact support