-
-
Notifications
You must be signed in to change notification settings - Fork 69k
[Bug] diagnostics-otel plugin fails to load: "Cannot find module '@opentelemetry/api'" #6989
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingstaleMarked as stale due to inactivityMarked as stale due to inactivity
Description
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 statusor 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/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstaleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Give feedbackNo fields configured for issues without a type.