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.

In your project, oncenpx @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.

Your app, continuously
  • /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.
HTTPS, key in a header
api.pulse-app.siOr your Pulse Relay, with PULSE_ENDPOINT.
Your devices“First heartbeat received. Here’s what the package found.”

Laravel, Symfony, Python and Go are installed by hand, then send the same reports.

From the command to the first signal: what changes in your project, what leaves your app, and where it goes.

Choose a package#

Your appPackageInstallRequires
NestJS@pulse-si/nestnpx @pulse-si/init pk_live_…Node 18.17, NestJS 10 to 12
Next.js@pulse-si/nextnpx @pulse-si/init pk_live_…Node 18.17, Next.js 14
Laravelpulse-si/laravelcomposer require pulse-si/laravelPHP 8.1, Laravel 10 to 13
Symfonypulse-si/symfonycomposer require pulse-si/symfonyPHP 8.1, Symfony 6.4 to 8
Django, FastAPI, Flask, scriptpulse-pythonpip install pulse-pythonPython 3.9
net/http, gin, echo, chi, fiberpulse-app.si/gogo get pulse-app.si/go@latestGo 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#

  1. In Pulse, tap Add an App, then The Package.
  2. Name the app and pick its environment, Prod or Staging. Tap Continue.
  3. Pulse shows the steps for your framework along with the key: pk_live_… in production, pk_test_… in staging.
  4. Put it in your app’s PULSE_KEY variable, 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#

DataWhenSetting
Heartbeat, package name and version, frameworkAlwaysNone
Dependency state: name, type, success, response timeBy defaultchecks
Scheduled jobs: schedule, runs, successBy defaultcrons
Framework and app versions, startup timeBy defaultversions
Logs, with secrets maskedBy default, if your plan keeps themlogs

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.

Still missing an answer? Contact support