8

PricingBlog
All posts
engineering

Pulsar's 24 Magento Collectors, Explained: What a Health Endpoint Actually Watches

2026-10-21 · Byte8 Team

Share

Every monitoring pitch for Magento ends up at the same sentence: "we check more than uptime." It is true of Pulsar too, and it is also nearly meaningless until you can see the list. So this is the list. All 24 collectors in the byte8/module-pulsar Magento module, what each one reads, the exact numbers that trip it, and the production failure it exists to catch.

*Updated 2 December 2026 for module 1.16: a 24th collector (checkout funnel), a corrected reading of Magento's email_sent flag, and new thresholds for error reports.*

If you have followed our weekly Security Pulse posts you have met most of these one at a time. This is the page we should have written first, so the Pulse posts, the pricing page and the dashboard all have one place to point.

How a collector works

The module adds one endpoint to your store, /pulsar/health, protected by a key you paste into admin when you connect the store. Pulsar's checker calls it on a schedule, the module runs every enabled collector inside Magento, and the response comes back as one JSON document: an overall status plus one block per collector. Nothing is installed on the host, no agent runs as root, no log is shipped anywhere. The module reads what Magento itself can read, from inside the application.

Each collector reports one of three statuses: healthy, degraded or critical. The security collectors can also report a fourth, compromised, which we treat as a separate state from downtime for reasons covered in Compromised is not Down. Thresholds are deliberately conservative. A collector that nags gets muted, and a muted collector catches nothing.

One subtlety worth knowing: the overall store status is weighted. A critical from an infrastructure collector (database, search, cache, Redis, SSL, system, PHP-FPM) makes the whole store critical. A critical from any other collector shows as critical on its own card but only degrades the store overall. That keeps a single stuck cron job from paging you the way a dead database would, while still being impossible to miss.

The collectors fall into three sets, and the sets are how the tiers are drawn. Platform health is on every tier including Free. Commerce and security are Guard and above. The last section explains why the line sits there.

Platform health: 14 collectors

These answer one question: is the machinery under the store working? None of them know whether you sold anything. They know whether the parts that let you sell are moving.

Cron

Reads the cron_schedule table. The heartbeat is alive if a new schedule row has been created in the last 15 minutes, so there is nothing to set up. Critical if the heartbeat is dead, if any job has sat in running for more than an hour, or if there has never been a successful run. Degraded if more than 5 jobs errored in the last 24 hours or more than 200 overdue jobs are pending, both thresholds adjustable in admin.

The failure it catches is the one from last week's Pulse: cron is running, the heartbeat looks fine, and one job group has been stuck or erroring for days while indexers and consumers quietly stop moving behind it.

Indexers

Reads indexer state for every registered indexer. Critical if the catalog search index is invalid or stuck, if any indexer has been working for more than an hour, or if more than three are invalid. Degraded if any indexer is invalid or more than three are mid-run. An indexer invalidated in the last 10 minutes counts as pending, not invalid, because it is almost always being rebuilt by a deploy or a price-rule run at that moment.

A stale indexer is the classic Magento silent failure. The store is up, the pages render, and category listings or prices are simply wrong. We wrote a whole post on why a fast store can still be broken; this collector is most of the answer.

Cache

Reads the cache type list. Degraded when more than 3 cache types are invalidated. Critical when more than 2 are disabled, more than 5 are invalidated, or Varnish is configured as the page cache but the module cannot open a TCP connection to the first configured cache host.

Someone disables a cache type in production "for a minute" during a debugging session and forgets. The store survives on Tuesday afternoon and falls over on the next campaign email.

Database

Runs a timed SELECT 1 and reads connection counts and uptime from SHOW STATUS. Degraded if that trivial query takes more than 100 ms. Critical if the connection fails.

A hundred milliseconds for SELECT 1 sounds generous. On a healthy store it is a rounding error. When it trips, the database is saturated, and every page is about to be slow.

Database size

Reads total size and the ten largest tables from information_schema, cached for 24 hours. Degraded at 5 GB, critical at 10 GB.

The usual culprits are the quote table, the various log tables and reports left to grow for years. The tables are listed with the alert so you know which one it is before you open a terminal.

Redis

Reads the session, default cache and page cache Redis backends from env.php and runs INFO on each. Critical if any instance is unreachable or above 90% of its configured memory limit. Degraded above 80%, or when more than 1,000 keys have been evicted.

Redis eviction on a session store means customers get logged out and carts vanish. Nobody files a bug report for that. They just leave.

Search

Reads the configured engine (OpenSearch, Elasticsearch or ElasticSuite) and calls cluster health and the index list. Critical if no host is configured, the engine is unreachable, the cluster is red, or there are zero indices with the store's prefix. Degraded on a yellow cluster with more than one node. Yellow on a single node is normal and treated as healthy.

The zero-indices condition is the important one. A cluster can be green with nothing in it, which is exactly what you get after a failed reindex or a deploy that recreated the engine. Search returns nothing and every health check in the world says fine.

Message queue

Reads queue_message_status. Critical above 5,000 pending messages or more than 200 errors in 24 hours. Degraded above 1,000 pending or 50 errors, or when messages are pending but nothing has completed and nothing is in progress, which means the consumers have stalled.

If you use RabbitMQ the table is empty and the collector reports healthy with a note. It inspects the MySQL queue only.

System

Reads PHP version, memory limits, Magento version and edition, and free disk on the var directory. Degraded under 20% free disk, critical under 10%.

Disk is the one that takes down the whole store at once, usually at 3 am when the logs win.

PHP-FPM

Off by default because it needs the FPM status page enabled in your pool config. When it is on, it reads the status JSON. Critical when active processes reach 90% of the pool or anything is waiting in the listen queue. Degraded at 80%.

A listen queue above zero means requests are queuing for a worker. That is the moment before the 502s.

Deploy

Reads the application mode, the maintenance flag, whether DI is compiled and static content is deployed, and whether var and pub/static are writable. Critical in developer mode or if var is not writable. Degraded in default mode, with maintenance on, or in production mode without compiled DI or deployed static content.

Production stores left in developer mode after a hotfix are more common than anyone admits. So is a maintenance flag nobody removed.

SSL

Connects to the secure base URL on port 443 and parses the certificate. Critical with 7 days or fewer to expiry, or if the certificate cannot be read at all. Degraded at 30 days, or if the secure base URL is missing or not HTTPS.

External uptime checks also do this. The module does it from the store's own configuration, which catches the case where the certificate on the base URL is not the one you think you renewed.

Logs

Reads the size of exception.log, system.log and debug.log, whether debug logging is on, and the error reports in var/report, including the API reports under var/report/api. Critical if any log passes 2 GB or more than 200 reports were written in the last 24 hours. Degraded above 500 MB, above 50 new reports in 24 hours, or with debug logging enabled in production. The total on disk is reported too, with a cleanup note past 1,000, but it no longer drives the status: one bad afternoon months ago should not keep the store amber until somebody deletes old files.

Report files are the tell. Each one is an uncaught exception a customer saw. One store we looked at had more than twenty thousand.

Log errors

Reads exception.log and system.log incrementally from the last position, at most 2 MB per check, and keeps only ERROR and CRITICAL lines. Entries are grouped by a normalised signature so a thousand copies of the same error count as one error seen a thousand times. Critical if any new CRITICAL entry appeared since the last check. Degraded for any new ERROR. A built-in list suppresses known harmless noise, and an ignore list in admin handles your own.

This is the collector behind "your exception.log, in Slack, the first time it happens." The status reflects only new lines since the last poll, so a problem that stops also stops alerting.

Commerce signals: 4 collectors

These are the collectors that know a shop is a shop. The platform set tells you the engine is running. This set tells you whether orders are completing, whether shoppers are getting through checkout at their usual rate, whether customers are being told about their orders, and whether the systems you depend on are still connected.

Orders

Reads sales_order. Critical with more than 20 orders stuck in pending_payment for over 4 hours. Degraded above 5 stuck, or more than 10 orders cancelled, flagged for fraud or held for payment review in 24 hours.

The stuck pending_payment count is the single most useful number in Magento monitoring. It is what a broken payment gateway looks like from inside the database while the storefront is still returning 200.

There is also an opt-in capture reconciliation check. It finds orders that have been shipped, or authorised, or paid through a method you name, but have no capture transaction and no money recorded. Degraded after 7 days, critical after 21, both adjustable. It is off by default because it depends on how your payment methods record transactions, and we would rather you switch it on knowingly. The failure it exists for is the quiet one: authorised, shipped, never captured, found weeks later during reconciliation.

Transactional email

Reads orders, invoices, shipments and credit memos flagged to send an email that has not been sent, within a window from 48 hours ago to 30 minutes ago. The key is reading email_sent correctly, and it is easy to get backwards (our own module did until 1.16). Since Magento 2.4.8 it is an attempt counter when async sending is on: negative means Magento is still retrying, and 0 means every attempt failed and Magento has given up. Null means queued and not yet tried, unless async sending is off, in which case the synchronous send failed and nothing will ever retry it. So a lost email is 0, or null with async off. Degraded on the first lost email, critical at five. With async sending on, it also degrades when the oldest email still waiting has been there for 30 minutes, and goes critical at two hours.

We built this one after an SMTP outage where every order email for a day was simply lost. Magento did not log it as an error. The orders were fine. The customers just never heard back.

Integrations

Reads the integration and oauth_token tables. Critical if any active integration has no valid access token. Degraded above 50 revoked tokens.

An ERP or PIM integration whose token was revoked does not fail loudly. It stops syncing, and you find out when stock is wrong.

Checkout funnel

Reads quote, quote_address and sales_order to measure three conversion rates over the last 24 hours: carts that reach a chosen shipping method, shipping step to order, and cart to order. Each is compared with the store's own rate over the previous 28 days. Degraded when a rate falls at least 10% below its baseline, critical at 25%, and in both cases only when the drop is statistically real (a two-proportion z-test), so a quiet Sunday never pages anyone. It waits for 50 carts in the window before judging, and leaves out Pulsar's own synthetic checkout runs.

This is the failure a synthetic checkout cannot see. The scripted flow uses one address and one basket, and it passes. Meanwhile an age gate, a carrier rate call or an address validator fails for a slice of real shoppers. On one client store, shipping-step completion fell from about three in four carts to two in three for two days while every technical check stayed green.

Security posture: 6 collectors

These are the collectors that can return compromised. The techniques below are described by behaviour, not by specific indicators, because the specific indicators change weekly and are pulled from a signature feed the module refreshes hourly.

Admin security

Reads admin_user, the admin session table and the two-factor configuration. Critical above 100 failed logins in 24 hours or more than 3 locked accounts. Degraded above 20 failed logins, or if any active admin has no two-factor setup.

Config hygiene

Checks ten configuration flags. Critical if template hints are on for the storefront or admin, or symlinks are allowed in templates. Degraded if CSS or JS minification, static file signing or URL rewrites are off. Merge settings and async email are reported as advisory only.

Template hints in production leak your module list and template paths to anyone who looks. It happens after debugging, same as the disabled cache.

Content integrity

Scans raw core_config_data rows across every scope, specifically the head includes, footer, copyright and welcome fields plus any value containing a script tag or a meta http-equiv, and the content of CMS pages and blocks. It matches behaviour: character-code obfuscation, obfuscator-style variable names combined with eval or atob, hex-encoded URL strings, inline Content Security Policy overrides, and script sources on hosts not in the allowlist. The allowlist has around two dozen well-known hosts built in (tag managers, consent tools, payment providers, review widgets) plus your own base URLs and anything you add.

Compromised on any obfuscation-grade match. Degraded if only review-level signals are found, such as an unknown script host. The finding reports where and how long the value is, never the payload itself. This is the collector built for the card skimmer anatomy: injected JavaScript in the one table nobody reads.

Media integrity

Walks pub/media for files with executable extensions, including double extensions like name.php.jpg. Reads the first 2 KB of image files in the upload directories looking for a PHP open tag hidden inside what claims to be a picture. Checks that the media directories carry an .htaccess denying PHP execution on Apache. Counts unexpected file types per upload subdirectory against per-directory thresholds.

Compromised if any executable or disguised PHP file is found. Critical on a missing deny rule or a subdirectory over its critical count. Degraded over the warning count.

One store we examined had more than thirteen thousand files uploaded through a customer address form over five months. The store never noticed. The domain registry did, from a takedown notice.

Upload endpoint

Reads the last megabyte of the web server access log and counts POST requests to the upload surfaces Magento exposes: customer address file upload, cart item option updates, the contact form and the guest-cart REST paths. It separates requests from scripted user agents (python, curl, wget, Go, Perl, scrapers) from the rest.

Compromised at 10 or more scripted uploads or 50 or more upload POSTs in that window. Degraded at 3 scripted or 10 total. If no readable log is found it reports healthy and says so.

Applied patches

Reads the patches declared in composer.json, in installed.json, and in your patches directory, extracts CVE and APSB identifiers, and then verifies each patch is actually present in the live code by checking the diff's added lines against the target files. Degraded if any patch is reported as not applied or only partially applied. Never critical on its own. Patch files that nothing declares and nothing matches, and patches fully replaced by a newer one you have applied, are listed as housekeeping notes rather than degrading the store.

A composer install on a fresh deploy can silently revert a security patch, and nothing in Magento tells you. Pulsar also uses the verified list to suppress advisory alerts for CVEs you have already patched, so the security feed only tells you about what is actually open.

Why the line sits where it sits

The Free tier covers one store, the 14 platform collectors every 15 minutes, uptime and SSL every minute, three monitored pages, one alert channel, no card and no time limit. The commerce and security sets, the real-browser checkout flows, and the version-matched advisory feed are Guard and above. The pricing page has the full matrix.

The reasoning is cost and value, in that order. The platform collectors read tables and files that already exist. They cost us almost nothing to poll, and giving them away means a developer can see cron die before a client does, on a store that may never pay us. A real browser running your checkout every few minutes costs real money. The commerce and security collectors are where a store makes or loses money, and we think that is the honest place to charge.

What it deliberately does not do

A health endpoint sees what Magento sees. It does not see processes on the host, so a crypto miner running as the web user is invisible to it, and we say so rather than imply otherwise. It is not an APM. It has no traces, no per-request timing, no flame graphs, and we explained the difference in monitoring versus APM. It is not a log aggregator; the log error collector reads two files and keeps signatures, not lines. And it never calls home with content: findings carry locations and lengths, never payloads.

Those gaps are the subject of the next post: what a free Magento monitor can and cannot see, and what to run alongside it.

Installing the module

The module is on Packagist, so installation is one command on Magento 2.4.6 or later:

composer require byte8/module-pulsar
bin/magento setup:upgrade
bin/magento cache:flush

Add the store in the Pulsar dashboard, paste the key it issues into Stores, Configuration, Byte8, Pulsar in Magento admin, and the first collector results arrive on the next poll. Every collector can be switched off individually, and PHP-FPM and capture reconciliation start off until you turn them on.


Enjoyed this? Share it with your team.

Share