OpenCode Observability & Monitoring with OpenTelemetry SigNoz has released a guide for instrumenting OpenCode AI coding sessions with OpenTelemetry to collect traces, logs, and metrics for real-time observability. The integration allows developers to monitor tool calls, track token usage, and debug performance issues by sending telemetry data to SigNoz for correlation in a single dashboard. What is OpenCode Observability? OpenCode observability and monitoring gives you real-time visibility into your AI coding sessions by collecting traces, logs, and metrics using OpenTelemetry https://opentelemetry.io/ . This guide shows you how to instrument OpenCode with the OpenTelemetry plugin and send telemetry data to SigNoz, so you can monitor tool calls, track token usage, and debug performance issues directly from your development workflow. With full OpenCode observability in SigNoz, you can correlate traces, logs, and metrics in a single dashboard, set up alerts for error rates or high latency, and analyze usage patterns over time to continuously improve reliability and efficiency. Prerequisites - SigNoz setup choose one : SigNoz Cloud account https://signoz.io/teams/ with an active ingestion key- Self-hosted SigNoz instance - Internet access to send telemetry data to SigNoz Cloud OpenCode https://opencode.ai/ installed and running on your system Monitor OpenCode with OpenTelemetry The steps below walk you through installing and configuring OpenTelemetry for OpenCode to export traces, logs, and metrics to SigNoz. For full plugin details, see the official plugin documentation https://github.com/DEVtheOPS/opencode-plugin-otel/blob/main/README.md Step 1: Install the OpenTelemetry Plugin Add the plugin to your OpenCode config at ~/.config/opencode/opencode.json create the file if it doesn't already exist : { "$schema": "https://opencode.ai/config.json", "plugin": "@devtheops/opencode-plugin-otel" } Step 2: Configure OpenTelemetry Environment Variables Set the required environment variables to enable telemetry and configure the OpenTelemetry endpoint: export OPENCODE ENABLE TELEMETRY=1 export OPENCODE OTLP ENDPOINT="https://ingest.