Description
The diagnostics-otel plugin fails to initialize on startup in OpenClaw v2026.1.30. It appears the @opentelemetry/api dependency is missing from the installed package, causing the plugin to crash during the load phase.
To Reproduce
- Install OpenClaw v2026.1.30
- Run
openclaw gateway status or check logs
- Observe the "Cannot find module" error for
diagnostics-otel
Expected behavior
The plugin should load successfully and begin exporting telemetry as configured.
Actual behavior
The plugin fails to load with a MODULE_NOT_FOUND error.
Error Log
[plugins] diagnostics-otel failed to load from /home/ubuntu/.npm-global/lib/node_modules/openclaw/extensions/diagnostics-otel/index.ts:
Error: Cannot find module '@opentelemetry/api'
Require stack:
- /home/ubuntu/.npm-global/lib/node_modules/openclaw/extensions/diagnostics-otel/src/service.ts
Environment
- OpenClaw Version: 2026.1.30
- OS: Linux 6.14.0-1012-oracle (arm64)
- Node Version: v22.22.0
- Install Path: /home/ubuntu/.npm-global/lib/node_modules/openclaw/extensions/diagnostics-otel/
Description
The
diagnostics-otelplugin fails to initialize on startup in OpenClaw v2026.1.30. It appears the@opentelemetry/apidependency is missing from the installed package, causing the plugin to crash during the load phase.To Reproduce
openclaw gateway statusor check logsdiagnostics-otelExpected behavior
The plugin should load successfully and begin exporting telemetry as configured.
Actual behavior
The plugin fails to load with a
MODULE_NOT_FOUNDerror.Error Log
Environment