Search by

cinderwatch / cinder-wordpress

RhysLees

WordPress adapter for Cinder error, log, trace, health and schedule monitoring.

Package info

github.com/cinderwatch-dev/cinder-wordpress

Type:wordpress-plugin

pkg:composer/cinderwatch/cinder-wordpress

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.1.0 2026-11-23 15:44 UTC

This package is not auto-updated.

Last update: 2026-11-23 16:59:31 UTC


README

Develop in the cinder-clients monorepo (packages/cinder-wordpress). This GitHub repository is a read-only split mirror; do not commit here.

WordPress adapter for Cinder.

Install via Composer (Bedrock) or upload the built cinder.zip from GitHub releases.

Sends errors, logs and traces to Cinder's versioned API (/api/v1/...), exposes /cinder/v1/health for pull checks, and syncs WP-Cron events with schedule monitoring.

Configuration

Define constants in wp-config.php (recommended) or use Settings → Cinder:

define('CINDER_KEY', 'your-api-key');
define('CINDER_URL', 'https://cinderwatch.dev');
define('CINDER_ERRORS_ENABLED', true);
define('CINDER_LOGS_ENABLED', true);
define('CINDER_TRACING_ENABLED', true);
define('CINDER_CRON_GRACE_MINUTES', 15);
define('CINDER_HEALTH_ENDPOINT_ENABLED', true);
define('CINDER_HEALTH_CHECK_SECRET', 'your-health-secret');

Health probes

The endpoint reports PHP runtime, disk usage, database, core/plugin/theme updates, debug output, WP-Cron and Site Health probes. A snapshot younger than five minutes is reused between polls. Adjust the probe list with the cinder_health_probes filter:

use Cinderwatch\Health\AliasedProbe;
use Cinderwatch\Health\Probes\DiskUsageProbe;

add_filter('cinder_health_probes', function (array $probes): array {
    // Probes are keyed by id; alias a second disk probe so it doesn't replace the default one.
    $probes[] = new AliasedProbe(
        new DiskUsageProbe(path: '/var/www/uploads', warnAbovePercent: 80, failAbovePercent: 95),
        id: 'uploads-disk',
        title: 'Uploads disk',
    );

    return $probes;
});

WP-CLI

wp cinder test
wp cinder health [--strict]
wp cinder schedule_sync
wp cinder install_loader