Files
openclaw/extensions/diagnostics-prometheus
Peter Steinberger f6131a4fbf build(deps): remove npm shrinkwrap; mirror pnpm lock into transient package locks (#114006)
* build(deps): remove npm shrinkwrap; mirror pnpm lock into transient package locks

npm 12 removed shrinkwrap (command + tarball/root loading). Delete all 82
committed npm-shrinkwrap.json files and stop publishing lockfiles; keep
pnpm-lock.yaml as the single reviewed dependency boundary. The generator
becomes scripts/generate-npm-package-lock.mjs and feeds plugin bundling via
a transient package-lock.json + npm ci (works on npm 11 and 12). Tarball
validation treats the published 2026.7.2 beta train as a shrinkwrap
transition; self-update npm detection now uses install topology instead of
the shipped shrinkwrap.

* fix(deps): repair lint, deadcode, and test-type lanes for the npm 12 migration

- sort integrity comparisons with an explicit comparator (oxlint)
- keep resolveBunGlobalNodeModules module-local (knip unused-export gate)
- model npm pack --json as npm<=11 array / npm 12 name-keyed object
- default calver destructuring in the tarball test fixture
2026-07-26 01:29:55 -04:00
..

@openclaw/diagnostics-prometheus

Official Prometheus diagnostics exporter for OpenClaw.

This plugin exposes OpenClaw Gateway runtime metrics in Prometheus text format for Prometheus, Grafana, VictoriaMetrics, and compatible scrapers.

Install

openclaw plugins install @openclaw/diagnostics-prometheus

Restart the Gateway after installing or updating the plugin.

Configure

Enable the plugin and set the scrape endpoint options in plugins.entries.diagnostics-prometheus.config.

The full config surface, metric names, and scrape examples live in the docs:

Package

  • Plugin id: diagnostics-prometheus
  • Package: @openclaw/diagnostics-prometheus
  • Minimum OpenClaw host: 2026.4.25