Klarsmith Ops Kit
Makes WordPress legible to Kubernetes and Prometheus: honest readiness, snapshot-backed metrics, structured JSON logs.
Mit Vorsicht verwenden
Klarsmith Ops Kit works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 60/100 on our health check.
- Getestet mit dem neuesten WordPress (7.1)
- Kleine Benutzerbasis (<10 aktive Installationen)
- Bisher sehr wenige Bewertungen
- Benötigt PHP 8.3 oder neuer
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Klarsmith Ops Kit stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| health check | >100 |
| kubernetes | #5 |
| logging | >100 |
| Überwachung | >100 |
| prometheus | #6 |
About Klarsmith Ops Kit
From the official readme · v0.1.7Beschreibung
WordPress has no honest health endpoint. The front page, admin-ajax.php and the usual
health.php stubs all return 200 while the database is down, the object cache is gone, or
WordPress is serving its “database update required” interstitial. Every probe in common
use calls that pod ready.
Klarsmith Ops Kit gives a containerised WordPress site three things operators actually need:
- Honest readiness —
GET /wp-json/ops/v1/readyzreturns 200 only when the database
answers, the schema matches the running core version, the object cache round-trips, and
the uploads directory is writable. Anything else is a 503 with the failing check names.
Liveness is deliberately left alone: a database outage must drain pods, never restart
them. - Prometheus metrics —
GET /wp-json/ops/v1/metricsserves the text exposition
format from a snapshot thatwp ops collectwrites to the object cache on a schedule.
Nothing expensive runs on scrape.wp_ops_snapshot_age_secondstells you when the
collector has stopped. Pod-level series (wp_ops_pod_*) and site-level series
(wp_ops_site_*) are split so replicas do not duplicate site numbers. - Structured JSON logs — with
WP_OPS_LOG_JSON=true, PHP errors and fatals go to
stderr as one JSON object per line, ready for a log pipeline.
The plugin fails closed. /metrics is disabled until a token is configured, and the
anonymous readiness response names failing checks without leaking detail.
Configuration is by environment variable, which is how containers are configured:
WP_OPS_TOKEN— bearer token for/metrics(Authorization: Beareror
X-Ops-Token). Unset disables the endpoint.WP_OPS_SITE_NAME—sitelabel on JSON log records (metrics carry no site
label; the scraper’s own labels identify the site).WP_OPS_EXPECT_OBJECT_CACHE— fail readiness when no external object cache is active.WP_OPS_REQUIRED_PLUGINS— comma-separated plugin files (dir/plugin.php) that
must be active for readiness.WP_OPS_REST_BYPASS_AUTH— set tofalseto stop the plugin allowing anonymous
access to its own REST namespace.WP_OPS_LOG_JSON— set totrueto emit JSON log lines on stderr.
WP-CLI commands: wp ops check (exit 1 on any failing check), wp ops collect
(refresh the snapshot), wp ops metrics (print the exposition locally).
Source, issue tracker and Kubernetes manifests for probes, the collector CronJob and
scraping live at https://github.com/klarsmith/wp-ops-kit.
Installation
- Install from the WordPress plugin directory, or with Composer
(composer require klarsmith/wp-ops-kit; the Composer package installs as
wp-content/plugins/wp-ops-kit). - Aktivieren Sie das Plugin.
- Point your readiness probe at
/wp-json/ops/v1/readyz. - Run
wp ops collecton a schedule (a five-minute CronJob is the reference setup). - Set
WP_OPS_TOKENand scrape/wp-json/ops/v1/metricswith that bearer token.
If a security plugin blocks anonymous REST requests, the plugin allows its own ops/v1
namespace through at priority 1 unless WP_OPS_REST_BYPASS_AUTH=false. Add ops to the
security plugin’s allowlist as well where it has one.
Änderungsprotokoll
Name change only; no configuration changes.
0.1.7
- Directory listing name is “Klarsmith Ops Kit” (slug
klarsmith-ops-kit);
Composer/GitHub name unchanged.
0.1.6
- Earlier directory listing name “Ops Kit” (superseded by 0.1.7).
Tested up to WordPress 7.1.
0.1.3
- Code conforms to the WordPress Coding Standards; PHPStan level 6 clean. No
behaviour change beyond sanitising two request inputs used for route detection. - Copy-paste manifests in
examples/for Kubernetes, stock Prometheus,
VictoriaMetrics and a Grafana dashboard.
0.1.2
/metricsno longer appends its exposition to a response another handler has already
served.- Zero-valued post statuses are dropped at collection time;
publishis always exported
so a drop to zero stays alertable.
0.1.1
- Allow the plugin’s own
ops/v1REST namespace through site-level anonymous-REST
lockdowns (hooked at priority 1, never overriding an earlier decision).
Escape hatch:WP_OPS_REST_BYPASS_AUTH=false.
0.1.0
- Initial release: readiness endpoint, snapshot-backed Prometheus metrics, JSON logging,
wp ops check|collect|metrics commands.
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Klarsmith Ops Kit alternatives
All health check plugins →Fragen und Antworten
Klarsmith Ops Kit: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Klarsmith Ops Kit free?
Yes. Klarsmith Ops Kit is free to download and use from the official WordPress.org plugin directory.
Is Klarsmith Ops Kit safe to use in 2026?
Klarsmith Ops Kit works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 60/100 on our health check.
How many websites use Klarsmith Ops Kit?
Klarsmith Ops Kit is active on <10 WordPress websites and has been downloaded 258 times since it launched in September 2026. It was downloaded 73 times in the last 30 days.
Does Klarsmith Ops Kit work with WordPress 7.1?
Yes. The developer has tested Klarsmith Ops Kit up to WordPress 7.1.5, the latest release. It requires WordPress 6.4 or newer.
What PHP version does Klarsmith Ops Kit need?
Klarsmith Ops Kit requires PHP 8.3 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Klarsmith Ops Kit last updated?
The latest version, 0.1.7, was released on September 10, 2026 (3 months ago).
Who makes Klarsmith Ops Kit?
Klarsmith Ops Kit is developed and maintained by klarsmith.
What are the best alternatives to Klarsmith Ops Kit?
The most popular alternatives to Klarsmith Ops Kit are Health Check & Troubleshoot… (200K+ installs), phpinfo() WP (3K+ installs) and Health Endpoint (3K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
