Monitor OpenCode with telemetry

opencode-plugin-otelskillsetup L20
DEVtheOPS/opencode-plugin-otel
What it does

Instrument opencode telemetry via OpenTelemetry protocol

Best for

Integrating opencode sessions with observability stacks like SigNoz, Datadog, or Honeycomb

Inputs
  • · OPENCODE_ENABLE_TELEMETRY env var
  • · OPENCODE_OTLP_ENDPOINT URL
Outputs
  • · OTLP metrics
  • · Log events
  • · Traces to collector
Requires
  • · OpenTelemetry collector
  • · gRPC or HTTP/protobuf endpoint
Preconditions

opencode CLI installed; collector endpoint reachable

Failure modes

Collector unreachable → silent no-op; auth failure → OTLP error logs

Trust signals
  • · npm package @devtheops/opencode-plugin-otel
  • · Mirrors Claude Code monitoring signals
  • · Supports gRPC and HTTP/protobuf transports