Title: liaison site health monitor
Author: Liaison
Published: <strong>27 augustus 2026</strong>
Last modified: 3 september 2026

---

Plugins zoeken

![](https://s.w.org/plugins/geopattern-icon/liaison-site-health-monitor.svg)

# liaison site health monitor

 Door [Liaison](https://profiles.wordpress.org/liaison/)

[Download](https://downloads.wordpress.org/plugin/liaison-site-health-monitor.1.0.0.zip)

 * [Details](https://nl.wordpress.org/plugins/liaison-site-health-monitor/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/liaison-site-health-monitor/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/liaison-site-health-monitor/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/liaison-site-health-monitor/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/liaison-site-health-monitor/)

## Beschrijving

**liaison site health monitor** is an admin-only diagnostic tool built for developers
and operators who want **clear visibility into WordPress performance characteristics**
without introducing undocumented runtime behavior.

This plugin intentionally **requires `SAVEQUERIES` to be enabled in `wp-config.php`**,
and does not attempt to bypass or reimplement WordPress core database instrumentation.

Why this matters

Rather than intercepting or mutating the database layer, this plugin:

 * Respects WordPress’s established debugging contract
 * Uses **core-supported query timing data**
 * Makes performance trade-offs **explicit and auditable**
 * Avoids fragile hooks into internal execution paths

### Requirements

To enable slow query monitoring, the following **must** be set in `wp-config.php`:

define( ‘SAVEQUERIES’, true );

This constant must be defined **before WordPress bootstrap**, as required by core.

If `SAVEQUERIES` is not enabled, slow query monitoring will be automatically disabled
and the plugin will operate in **site health metrics–only mode**.

### Features

 1. Site Health Metrics

 * PHP memory usage
 * Aggregate database query time
 * REST API response latency
 * Active plugin count
 * WordPress version
    1. Slow Query Monitoring (SAVEQUERIES-based)
 * Uses `$wpdb->queries` as the authoritative source
 * Automatic slow query detection via time thresholds
 * Query normalization and aggregation
 * Persistent storage for historical analysis
 * Zero interference with query execution
 * Slow Query Monitoring

 1. WordPress records query timing into `$wpdb->queries` (core behavior).
 2. On admin page load:

 * Plugin inspects recorded queries
 * Filters queries exceeding the configured threshold
    1. Slow queries are:
 * Normalized (values stripped)
 * Stored in a plugin-owned table
    1. Aggregated results are displayed in the dashboard.

### Why SAVEQUERIES Is Required

WordPress deliberately gates query timing behind `SAVEQUERIES` to ensure developers**
explicitly opt into performance overhead**.

This plugin embraces that design decision:

 * No attempt to override `$wpdb`
 * No undocumented filters or runtime mutation
 * No silent performance impact

Instead, it provides:

 * Transparent prerequisites
 * Predictable behavior
 * Alignment with WordPress core debugging philosophy

This makes the plugin suitable for **development, staging, and controlled production
diagnostics**.

### Security Considerations

 * **Admin-only access**
    - Dashboard restricted to privileged users.
 * **No sensitive data exposure**
    - Query values are normalized before storage.
 * **No runtime mutation**
    - Does not alter database execution flow.
 * **Clear uninstall behavior**
    - Plugin-owned tables removed on uninstall.

### Trade-offs / Limitations

Pros

 * Uses WordPress-supported debugging mechanisms
 * Easy to reason about and audit
 * No fragile DB-layer interception
 * Clear performance cost model
 * Ideal for learning and diagnosis
 * Cons
 * Requires `SAVEQUERIES` to be enabled
 * Higher overhead than production-safe profilers
 * Not intended for always-on monitoring
 * Less suitable for high-traffic production sites

### Testing

 * Tested with `SAVEQUERIES` enabled and disabled.
 * Verifies graceful degradation when unavailable.
 * Manual validation of query timing accuracy.
 * No dependency on non-core WordPress behavior.

## Schermafbeeldingen

[⌊Site Health Dashboard⌉⌊Site Health Dashboard⌉[

**Site Health Dashboard**

[⌊Slow DB Queries (Top 10)⌉⌊Slow DB Queries (Top 10)⌉[

**Slow DB Queries (Top 10)**

## Installatie

 1. Add the following to `wp-config.php`:
 2. define( ‘SAVEQUERIES’, true );
 3. Upload the plugin to `wp-content/plugins/liaison-site-health-monitor`.
 4. Activate via WordPress admin.
 5. Navigate to: **Tools  Site Health**
 6. Review site metrics and slow query data.

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“liaison site health monitor” is open source software. De volgende personen hebben
bijgedragen aan deze plugin.

Bijdragers

 *   [ Liaison ](https://profiles.wordpress.org/liaison/)

[Vertaal “liaison site health monitor” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/liaison-site-health-monitor)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/liaison-site-health-monitor/),
haal de [SVN repository](https://plugins.svn.wordpress.org/liaison-site-health-monitor/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/liaison-site-health-monitor/)
via [RSS](https://plugins.trac.wordpress.org/log/liaison-site-health-monitor/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Provides site health metrics and database slow query profiling
 * SAVEQUERIES-based slow query analysis
 * Introduced query normalization & aggregation
 * Added explicit requirement documentation
 * Refined admin dashboard
 * Clarified architectural trade-offs

## Meta

 *  Versie **1.0.0**
 *  Laatst geüpdatet **2 maanden geleden**
 *  Actieve installaties **Minder dan 10**
 *  WordPress versie ** 6.0 of nieuwer **
 *  Getest t/m **7.0.8**
 *  PHP versie ** 7.4 of nieuwer **
 *  Taal
 * [English (US)](https://wordpress.org/plugins/liaison-site-health-monitor/)
 * Tags
 * [database](https://nl.wordpress.org/plugins/tags/database/)[performance](https://nl.wordpress.org/plugins/tags/performance/)
   [profiling](https://nl.wordpress.org/plugins/tags/profiling/)[site health](https://nl.wordpress.org/plugins/tags/site-health/)
   [slow-query](https://nl.wordpress.org/plugins/tags/slow-query/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/liaison-site-health-monitor/advanced/)

## Waarderingen

Er zijn nog geen beoordelingen ingediend.

[Je beoordeling](https://wordpress.org/support/plugin/liaison-site-health-monitor/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/liaison-site-health-monitor/reviews/)

## Bijdragers

 *   [ Liaison ](https://profiles.wordpress.org/liaison/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/liaison-site-health-monitor/)