opencode-otel

JSON →
library 1.2.1 ·javascript
verified Jun 7, 2026

OpenCode plugin that forwards runtime stderr logs to any OTLP-compatible log collector via gRPC or HTTP. Current stable version is 1.2.1. It integrates with the OpenCode agent by monkey-patching process.stderr.write, parsing each line for severity, and emitting it as an OTLP LogRecord. Key differentiators include tight integration with BAT/Captain environment variable contracts, automatic backfilling of service identity from runtime metadata, and safe ignoring of unsupported signals (metrics). Peer dependency on @opencode-ai/plugin >=1.1.0.