Drupal is a registered trademark of Dries Buytaert
Menu Per Role 8.x-1.9 Minor update available for module menu_per_role (8.x-1.9). Google API PHP Client 8.x-4.8 Minor update available for module google_api_client (8.x-4.8). GEO Starter JSON-LD 1.1.1 Minor update available for module geo_starter_jsonld (1.1.1). SQLite VDB Provider 1.4.0 Minor update available for module ai_vdb_provider_sqlite (1.4.0). SQLite VDB Provider 1.3.0 Minor update available for module ai_vdb_provider_sqlite (1.3.0). Burndown 1.0.70 Minor update available for module burndown (1.0.70). Webform MailerLite integration 1.0.4 Minor update available for module webform_mailerlite (1.0.4). Select Icons 2.1.0 Minor update available for module select_icons (2.1.0). Menu Per Role 2.0.0 Module menu_per_role updated after 7 months of inactivity (2.0.0). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

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.

The Real-time Performance Monitor module acts as an automated, lightweight, real-time diagnostic watchdog for your Drupal website. It monitors backend database queries, custom PHP execution layers, and frontend rendering metrics directly from actual user traffic, triggering instant alerts via Email or Slack when performance thresholds are breached.

Unlike complex application performance monitoring (APM) tools that require heavy daemon installations, this custom module uses Drupal’s internal architecture to catch bottlenecks on the fly without introducing production overhead.

Key Features

  • Slow SQL Query Detector: Tracks every single query executed on a page view. If a specific query takes longer than your configured millisecond limit, it logs the full SQL statement alongside the exact page URL.
  • Duplicate Query ($N+1$) Alerting: Identifies redundant database requests. If the identical query is run more than X times on a single page lifecycle, an alert is triggered containing a clean breakdown of execution counts and the offending SQL string.
  • PHP Backtrace Watchdog ("Bad Function" Locator): Monitors total backend processing engine times. If a custom hook, unoptimized loop, or slow external API bottleneck slows down a request, the module triggers a snapshot backtrace up to 15 levels deep—identifying the exact custom file name, function, and line number causing the delay.
  • Frontend Telemetry Monitor: Utilizes the browser's native PerformanceNavigationTiming API to measure exact page rendering limits, DOM interactive times, and incoming file sizes for compiled CSS/JS assets.
  • Multi-Channel Alerts: Supports comma-delimited notification routing to multiple administrative email addresses and handles standard asynchronous JSON payloads straight into Slack incoming webhooks.

Configuration

Once enabled, administrators can manage global performance tolerances and notification endpoints directly through a centralized dashboard interface located at:
Administer > Configuration > Development > Real-time Performance Monitor Settings (/admin/config/development/real-time-performance-monitor)

You can fully customize:

  1. SQL Execution time thresholds (in milliseconds).
  2. Maximum allowable duplicate queries per request loop.
  3. Maximum PHP engine threshold time before firing an internal stack trace.
  4. Total browser page render timeouts.
  5. Notification preferences (Email and Slack channels).

Requirements

  • Drupal 10 or 11.
  • Core Database and Core Mail systems.

Activity

Total releases
6
First release
Jun 2026
Latest release
1 month ago
Releases (12 mo)
6 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.6 Stable Jun 10, 2026
1.0.4 Stable Jun 7, 2026
1.0.3 Stable Jun 7, 2026
1.0.2 Stable Jun 5, 2026
1.0.0 Stable Jun 5, 2026
1.0.x-dev Dev Jun 4, 2026