fix(plugins): repair missing clawhub installs · openclaw/openclaw@c7b5302
vincentkoc
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -7,12 +7,14 @@ Docs: https://docs.openclaw.ai
|
7 | 7 | ### Changes |
8 | 8 | |
9 | 9 | - Gateway/startup: skip plugin-backed auth-profile overlays during startup secrets preflight, reducing gateway readiness latency while keeping reload and OAuth recovery paths overlay-capable. (#68327) Thanks @JIRBOY. |
| 10 | +- Plugins/diagnostics: make diagnostics OpenTelemetry and Prometheus ClawHub-first installs while keeping npm fallback metadata for release cutovers. Thanks @vincentkoc. |
10 | 11 | - Plugins/onboarding: carry ClawHub install metadata through channel setup catalogs so missing channel plugins can install from ClawHub before npm/local fallback. Thanks @vincentkoc. |
11 | 12 | - Plugins/runtime: scope broad runtime preloads to the effective plugin ids derived from config, startup planning, configured channels, slots, and auto-enable rules instead of importing every discoverable plugin. |
12 | 13 | |
13 | 14 | ### Fixes |
14 | 15 | |
15 | 16 | - Control UI/sessions: bound the default Sessions tab query to recent activity and fewer rows, avoiding expensive full-history loads while keeping filters editable. Fixes #76050. (#76051) Thanks @Neomail2. |
| 17 | +- Plugins/doctor: repair missing configured provider and channel plugins from ClawHub before npm fallback, preserving ClawPack metadata in the install record. Thanks @vincentkoc. |
16 | 18 | - Gateway/channels: cap startup fanout at four channel/account handoffs and recover from Bonjour ciao self-probe races, reducing Windows startup stalls with many Telegram accounts. Fixes #75687. |
17 | 19 | - Gateway/sessions: keep `sessions.list` polling responsive on large session stores by reusing list-safe session cache/indexes and returning a lightweight compaction checkpoint preview instead of heavyweight summaries. Thanks @rolandrscheel. |
18 | 20 | - CLI/update: treat inherited Gateway service markers as origin hints and only block package replacement when the managed Gateway is still live, so self-updates can stop the service and continue safely. (#75729) Thanks @hxy91819. |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -30,7 +30,7 @@ works without code changes. For local file logs and how to read them, see
|
30 | 30 | For packaged installs, install the plugin first: |
31 | 31 | |
32 | 32 | ```bash |
33 | | -openclaw plugins install @openclaw/diagnostics-otel |
| 33 | +openclaw plugins install clawhub:@openclaw/diagnostics-otel |
34 | 34 | ``` |
35 | 35 | |
36 | 36 | ```json5 |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -8,7 +8,7 @@ read_when:
|
8 | 8 | - You want metrics without running an OpenTelemetry collector |
9 | 9 | --- |
10 | 10 | |
11 | | -OpenClaw can expose diagnostics metrics through the bundled `diagnostics-prometheus` plugin. It listens to trusted internal diagnostics and renders a Prometheus text endpoint at: |
| 11 | +OpenClaw can expose diagnostics metrics through the official `diagnostics-prometheus` plugin. It listens to trusted internal diagnostics and renders a Prometheus text endpoint at: |
12 | 12 | |
13 | 13 | ```text |
14 | 14 | GET /api/diagnostics/prometheus |
@@ -25,6 +25,11 @@ For traces, logs, OTLP push, and OpenTelemetry GenAI semantic attributes, see [O
|
25 | 25 | ## Quick start |
26 | 26 | |
27 | 27 | <Steps> |
| 28 | +<Step title="Install the plugin"> |
| 29 | +```bash |
| 30 | +openclaw plugins install clawhub:@openclaw/diagnostics-prometheus |
| 31 | +``` |
| 32 | +</Step> |
28 | 33 | <Step title="Enable the plugin"> |
29 | 34 | <Tabs> |
30 | 35 | <Tab title="Config"> |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -161,15 +161,17 @@ export OTEL_SERVICE_NAME="openclaw-gateway"
|
161 | 161 | ./scripts/docker/setup.sh |
162 | 162 | ``` |
163 | 163 | |
164 | | -Install the official `@openclaw/diagnostics-otel` plugin in packaged Docker |
165 | | -installs before enabling export. Custom source-built images can still include |
166 | | -the local plugin source with `OPENCLAW_EXTENSIONS=diagnostics-otel`. To enable |
167 | | -export, allow and enable the `diagnostics-otel` plugin in config, then set |
| 164 | +Install the official `@openclaw/diagnostics-otel` plugin from ClawHub in |
| 165 | +packaged Docker installs before enabling export. Custom source-built images can |
| 166 | +still include the local plugin source with |
| 167 | +`OPENCLAW_EXTENSIONS=diagnostics-otel`. To enable export, allow and enable the |
| 168 | +`diagnostics-otel` plugin in config, then set |
168 | 169 | `diagnostics.otel.enabled=true` or use the config example in [OpenTelemetry |
169 | 170 | export](/gateway/opentelemetry). Collector auth headers are configured through |
170 | 171 | `diagnostics.otel.headers`, not through Docker environment variables. |
171 | 172 | |
172 | | -Prometheus metrics use the already-published Gateway port. Enable the |
| 173 | +Prometheus metrics use the already-published Gateway port. Install |
| 174 | +`clawhub:@openclaw/diagnostics-prometheus`, enable the |
173 | 175 | `diagnostics-prometheus` plugin, then scrape: |
174 | 176 | |
175 | 177 | ```text |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -12,7 +12,7 @@ OpenClaw diagnostics OpenTelemetry exporter.
|
12 | 12 | ## Distribution |
13 | 13 | |
14 | 14 | - Package: `@openclaw/diagnostics-otel` |
15 | | -- Install route: ClawHub + npm |
| 15 | +- Install route: ClawHub: `clawhub:@openclaw/diagnostics-otel`; npm |
16 | 16 | |
17 | 17 | ## Surface |
18 | 18 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -12,7 +12,7 @@ OpenClaw diagnostics Prometheus exporter.
|
12 | 12 | ## Distribution |
13 | 13 | |
14 | 14 | - Package: `@openclaw/diagnostics-prometheus` |
15 | | -- Install route: ClawHub + npm |
| 15 | +- Install route: ClawHub: `clawhub:@openclaw/diagnostics-prometheus`; npm |
16 | 16 | |
17 | 17 | ## Surface |
18 | 18 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -28,8 +28,9 @@
|
28 | 28 | "./index.ts" |
29 | 29 | ], |
30 | 30 | "install": { |
| 31 | +"clawhubSpec": "clawhub:@openclaw/diagnostics-otel", |
31 | 32 | "npmSpec": "@openclaw/diagnostics-otel", |
32 | | -"defaultChoice": "npm", |
| 33 | +"defaultChoice": "clawhub", |
33 | 34 | "minHostVersion": ">=2026.4.25" |
34 | 35 | }, |
35 | 36 | "compat": { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -15,8 +15,9 @@
|
15 | 15 | "./index.ts" |
16 | 16 | ], |
17 | 17 | "install": { |
| 18 | +"clawhubSpec": "clawhub:@openclaw/diagnostics-prometheus", |
18 | 19 | "npmSpec": "@openclaw/diagnostics-prometheus", |
19 | | -"defaultChoice": "npm", |
| 20 | +"defaultChoice": "clawhub", |
20 | 21 | "minHostVersion": ">=2026.4.25" |
21 | 22 | }, |
22 | 23 | "compat": { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。