This module provides real-time monitoring of your Drupal website's performance, tracking database queries, PHP execution, and frontend rendering. It sends instant alerts via email or Slack when performance issues are detected, without requiring heavy external installations.
Find out why your Drupal site is slow, and fix it, without leaving Drupal.
Real-time Performance Monitor is application performance monitoring (APM) built into Drupal. It traces requests, profiles PHP and SQL, measures your real visitors' Core Web Vitals, watches caches, cron, queues and the server, and alerts you when something goes wrong. No external service, no agent to install, no per-host subscription: install the module and the dashboards appear under Reports » Performance APM.
Why site owners install it
- Answers, not just numbers. See exactly which route, query, hook, block, View or module made a page slow, with a timeline and flame graph for each request.
- Catches problems before your visitors do. Baseline anomaly detection, SLOs and alerts to e-mail, Slack, Microsoft Teams, Discord, PagerDuty or any webhook.
- A health score you can act on. A 0–100 performance score with the failing checks and how to fix each one.
- Proves that a release helped. Every deployment and config change is marked on the charts, with a before/after comparison.
- Safe for production. Sampling, PII scrubbing, SQL stored without values, no IP addresses, trace writes after the response is sent, and one switch to turn all monitoring off.
- Your data stays on your server. Everything is stored in your Drupal database and can be exported or scraped by Prometheus.
What it monitors
- Requests and traces: p50 to p99 response times by route, content type, role, client, language or release. Profile any page on demand with the production-safe live tracer.
- Database: slow and duplicate queries, N+1 patterns, EXPLAIN findings, query budgets per route, table growth and bloat.
- Code hotspots: time spent per module (core, contrib, custom), slow hooks, event subscribers and the render pipeline (with XHProf or Tideways).
- Caching: page and dynamic page cache outcomes, what makes pages uncacheable, the most invalidated cache tags, Redis and Memcache hit ratios, and a smart cache warmer.
- Cron and queues: timing of every
hook_cron(), failures, overlaps, missed runs, queue backlogs and stuck items. - Errors: PHP and Drupal errors grouped by message, mail failures and the error rate of outgoing HTTP calls.
- Real users: Core Web Vitals (LCP, INP, CLS, TTFB) by page, browser, device and country, page weight, slow resources and JavaScript errors.
- Headless and Next.js: Next.js render time next to Drupal API time, slowest routes and fetches linked to their Drupal traces, and Next.js Core Web Vitals.
- Traffic and bots: real users, search crawlers, AI crawlers, scrapers and monitors, traffic spikes and expensive 404s.
- Infrastructure: OPcache, APCu, PHP-FPM, CPU, memory and disk over time, plus the monitor's own overhead.
Works with the tools you already use
- Prometheus, Grafana, Datadog, New Relic or CloudWatch through an OpenMetrics endpoint.
- CI/CD: record a release with one API call or
drush rpm:deployment. - Reports: weekly or monthly e-mail reports, CSV exports and a 400-day daily trend.
- Public status page with only the metrics you choose.
Get started in five minutes
composer require drupal/real_time_performance_monitoranddrush en realtime_performance_monitor- Give the View performance APM dashboards and Administer the performance monitor permissions to the right roles.
- Check the sample rates under Configuration » Development » Real-time Performance Monitor (5–25% is plenty on busy sites).
- Make sure cron runs, browse your site, and open Reports » Performance APM.
For headless sites, copy the two small helper files for Next.js from the module and add three environment variables. The README has the full guide.
Requirements
- Drupal 10, 11 or 12, PHP 8.1 or later.
- MySQL or MariaDB recommended (table size and EXPLAIN need it; everything else works on any Drupal database).
- Optional: XHProf or Tideways for function-level profiling, Redis or Memcache.
Support
Every dashboard tab has built-in help. Questions, bug reports and feature requests are welcome in the issue queue.
Ask your assistant about Real-time Performance Monitor
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.10 | Stable | Nov 12, 2026 | |||
| 1.0.9 | Stable | Nov 12, 2026 | |||
| 1.0.8 | Stable | Sep 27, 2026 | |||
| 1.0.7 | Stable | Sep 6, 2026 | |||
| 1.0.6 | Stable | 9–11 | Jun 10, 2026 | ||
| 1.0.4 | Stable | 9–11 | Jun 7, 2026 | ||
| 1.0.3 | Stable | 10–11 | Jun 7, 2026 | ||
| 1.0.2 | Stable | 10–11 | Jun 5, 2026 | ||
| 1.0.0 | Stable | 10–11 | Jun 5, 2026 | ||
| 1.0.x-dev | Dev | 10–11 | Jun 4, 2026 |