WP Manifestindependent plugin directory
manifest / developer / wp-ops-kit

Ops Kit

Honest readiness, Prometheus metrics, structured JSON logs and drift detection for containerised WordPress

by klarsmith · github.com/klarsmith/wp-ops-kit · website

0stars
15composer installs
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/klarsmith/wp-ops-kit/archive/refs/heads/main.zip

Also on Packagist as klarsmith/wp-ops-kit:

composer require klarsmith/wp-ops-kit

From the readme

WP Ops Kit Makes WordPress legible to Kubernetes and Prometheus: honest readiness, snapshot-backed metrics, and structured JSON logs. Status: 0.1.6, tagged on GitHub. On Packagist as klarsmith/wp-ops-kit. On wordpress.org the plugin is listed as Ops Kit (slug ops-kit, built by bin/build-wporg-zip.sh) because new directory slugs may not contain "wp" or "wordpress"; the code is identical. Quick start Full Kubernetes manifests, scrape configs and alert rules: examples/. Why WordPress has no honest health endpoint. The probe targets everyone reaches for — /, admin-ajax.php, a stub health.php — return 200 while the database is unreachable, Redis has vanished, uploads is read-only, or WordPress is serving the "database update required" interstitial instead of the site. That last one is the dangerous case. When dbversion in the database is behind the version compiled into core, WordPress redirects every request to upgrade.php. PHP-FPM is healthy, the homepage returns 200, and the site is completely down. Every probe in common use calls that pod ready. This plugin does not. Design Three decisions carry the whole thing, and they are the reason this is not just another WordPress Pro

Read the full README on GitHub →