{"library":"opencode-otel","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.2.1","tags":["javascript","opencode","opentelemetry","otel","logs","stderr","grpc","plugin","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install opencode-otel","imports":["import { OpencodeOtelPlugin } from 'opencode-otel'","const { OpencodeOtelPlugin } = require('opencode-otel')","import type { OpencodeOtelPlugin } from 'opencode-otel'"]},{"cmd":"yarn add opencode-otel","imports":[]},{"cmd":"pnpm add opencode-otel","imports":[]}],"homepage":"https://github.com/NeverMore93/opencode-otel#readme","github":"https://github.com/NeverMore93/opencode-otel","docs":null,"changelog":null,"pypi":null,"npm":"opencode-otel","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}