DeepSeek Harness Observability & Monitoring with OpenTelemetry DeepSeek's open-source agent harness, DeepSeek Harness, now supports observability and monitoring through a new Apache-2.0 plugin, @loongsuite/dsh-plugin, which exports OpenTelemetry traces to SigNoz. The plugin, compatible with DeepSeek Harness 0.1.0-rc.6 to below 0.2.0, captures every turn as a trace, including reasoning rounds, model calls with token counts, and tool executions. By default, prompts and responses are not captured, but enabling captureContent increases payload size from 6,350 bytes to 73,078 bytes for a single-tool turn. What is DeepSeek Harness Observability? DeepSeek Harness https://github.com/deepseek-ai/deepseek-harness dsh is DeepSeek's open-source agent harness. It has no OpenTelemetry export of its own, so instrumenting it means installing one plugin. Once installed, every turn becomes a trace: the agent loop, each reasoning round, each model call with its token counts and time to first token, and each tool execution. With full DeepSeek Harness observability in SigNoz, you can see how much your team is spending in tokens and on which models, how many round trips a single request actually takes, which tools the agent reaches for, and where turns fail. Prerequisites - SigNoz setup choose one : SigNoz Cloud account https://signoz.io/teams/ with an active ingestion key- Self-hosted SigNoz instance - DeepSeek Harness 0.1.0-rc.6 or later, below 0.2.0. See the DeepSeek Harness repository https://github.com/deepseek-ai/deepseek-harness - Node.js 22.19.0 or later - A DEEPSEEK API KEY , or another provider configured in your profile Monitor DeepSeek Harness with OpenTelemetry Instrumentation comes from @loongsuite/dsh-plugin https://github.com/loongsuite/dsh-plugin , an Apache-2.0 plugin that hooks the harness lifecycle and exports OTLP over HTTP. Step 1: Install the plugin into each profile you use dsh plugin --profile headless add @loongsuite/dsh-plugin dsh plugin --profile web add @loongsuite/dsh-plugin Plugins are installed per profile, so a plugin added to headless does nothing when you launch web . Confirm it loaded: dsh --profile headless --dump-config | grep loongsuite You should see id: loongsuite-observability . Step 2: Point the plugin at SigNoz export OTEL SERVICE NAME=dsh-agent export OTEL EXPORTER OTLP ENDPOINT="https://ingest.