byte8 / module-pulsar
Pulsar Health Monitoring for Magento 2 - Exposes internal health metrics to Pulsar monitoring service
Package info
github.com/byte8io/magento-pulsar
Type:magento2-module
pkg:composer/byte8/module-pulsar
Requires
- php: ~8.1.0||~8.2.0||~8.3.0||~8.4.0||~8.5.0
- byte8/module-core: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Deep health monitoring for Magento 2. This is the companion extension for Byte8 Pulsar β a hosted monitoring service built specifically for Magento. Uptime checks tell you the homepage loads; Pulsar tells you cron is stuck, an indexer is stale, transactional emails are silently failing, or a payment skimmer just landed in your CMS blocks.
- π° Product: byte8.io/products/pulsar
- π Documentation: docs.byte8.io/pulsar
- π₯ Dashboard: pulsar.byte8.io
The extension is intentionally simple: it exposes a single secure JSON endpoint, GET /pulsar/health, that runs the enabled collectors and reports per-check status. The Pulsar service polls it on an interval, tracks history, applies alerting rules (with flap suppression and digests), and notifies your team β nothing long-lived runs on your server.
What it watches β 24 collectors
Infrastructure & platform
| Collector | Catches |
|---|---|
cron |
Dead heartbeat, stuck/failed jobs, pending backlog |
indexer |
Invalidated/stale indexers |
cache |
Disabled cache types, backend connectivity |
database / database_size |
Connectivity, growth trends, runaway tables |
redis |
Connectivity, memory pressure |
search |
OpenSearch/Elasticsearch cluster health |
queue |
Message-queue consumer backlog |
system |
Disk space, load |
phpfpm |
Pool saturation (off by default β needs status URL) |
deploy |
Deploy mode, config drift |
ssl |
Certificate expiry |
log / log_errors |
Log growth; ERROR/CRITICAL bursts in system.log/exception.log (with a known-noise allowlist) |
Commerce signals
| Collector | Catches |
|---|---|
orders |
Order-flow anomalies (the "site is up but nobody can buy" class), incl. deferred-capture orders shipped but never captured (opt-in) |
transactional_email |
Order/invoice emails Magento has given up on (retries exhausted, or no retry at all) β the silent losses a merchant only hears about from the customer |
checkout_funnel |
Conversion drop at a checkout step β cart β shipping method β order, compared with the store's own baseline; catches the "site is up, checks pass, customers quietly give up at the shipping step" incident that no synthetic flow sees |
integrations |
Broken API integrations |
Security posture
| Collector | Catches |
|---|---|
admin_security |
Failed-login spikes, locked accounts, 2FA posture |
config_hygiene |
Risky configuration drift |
content_integrity |
Injected scripts / payment skimmers in CMS content and store config (signature feed kept fresh via cron) |
media_integrity / upload_endpoint |
Executable files in media, exposed upload endpoints |
applied_patches |
Verifies security patches are actually present in live code β so version-matched CVE alerts from Pulsar reflect your patched reality, and alert again if a patch disappears after a deploy. Tells a lost fix apart from a patch superseded by a newer cumulative one, and from stale .patch files nothing declares |
Every collector is individually toggleable with tunable thresholds, and reports healthy / degraded / critical; the endpoint's top-level status is the worst across enabled collectors.
Requirements
- Magento 2.4.6+ (Open Source or Adobe Commerce)
- PHP 8.1 β 8.5
- Outbound HTTPS to
*.byte8.io - A Pulsar account
Installation
The package is on Packagist, so no extra repository is needed:
composer require byte8/module-pulsar bin/magento setup:upgrade bin/magento cache:flush
Configuration
Stores β Configuration β Byte8 β Pulsar in Magento admin:
- Enabled β master switch for the
/pulsar/healthendpoint. - API key β paste the key issued when you add the site at pulsar.byte8.io.
- Per-collector toggles and thresholds (e.g. cron pending/failed warning levels, content-integrity script allowlist, applied-patches sources, log-error known-noise ignore patterns) β sensible defaults out of the box.
Requests authenticate with the X-Pulsar-Key header (or Authorization: Bearer), compared in constant time. The endpoint is read-only and returns metrics only β no customer data.
Full field-by-field reference: docs/CONFIGURATION.md Β· endpoint/response details: docs/FEATURES.md.
How it fits together
ββββββββββββββββββββββββ poll /pulsar/health βββββββββββββββββββββββ
β Pulsar service β ββββββββββββββββββββββββΊ β Magento 2 β
β pulsar.byte8.io β (X-Pulsar-Key) β (this module: β
β history Β· alerting β ββββββββββββββββββββββββ β 24 collectors) β
β advisories Β· digestsβ JSON status β β
ββββββββββββ¬ββββββββββββ βββββββββββββββββββββββ
β alerts: email Β· Slack Β· webhooks
βΌ
your ops team
The service side adds what a module can't: uptime/synthetic checks from outside, alert history, flap suppression, security-advisory matching against your exact Magento version and applied patches, and multi-site dashboards.
Synthetic checkout traffic
Pulsar's browser-based checkout flow runs against your storefront as a guest shopper. The module makes those runs recognisable and tidies up after them:
- every request of a run carries
X-Pulsar-Synthetic: <site id>; injectByte8\Pulsar\Api\IsSyntheticRequestInterfaceto skip age-verification, fraud-scoring or ERP calls for synthetic traffic; - every quote a run touches is tagged
pulsar+<site id>@synthetic.byte8.ioand deleted by cron after an hour; - the checkout funnel collector ignores them.
Exclude that address in your marketing automation and analytics β see docs/FEATURES.md β Synthetic Checkout Traffic.
Support
- π Documentation β setup, collectors reference, troubleshooting
- π GitHub issues β bug reports welcome
- βοΈ helo@byte8.io β support
License
Proprietary β Β© Byte8 Ltd. The extension source is published for transparency and merchant review; use requires a Pulsar subscription. See byte8.io/products/pulsar for plans.