krimvp/dsh-otel

krimvp★ 0TypeScript最后同步: 2026-08-16

在 GitHub 打开

OpenTelemetry plugin for DeepSeek Harness (dsh) — traces and metrics for agent runs, tools, and model calls

README 摘要

dsh-otel OpenTelemetry plugin for DeepSeek Harness (dsh). Status: early development. The plugin emits traces and metrics for the agent loop, the model calls, and the tool calls. The GenAI semantic conventions have the status Development , so every gen ai. name can change. Expect breaking changes before version 0.1.0. DeepSeek Harness is also in developer preview. What the plugin emits Traces dsh concept Span Kind Turn invoke agent INTERNAL, root of the trace Step dsh.step INTERNAL, child of the turn Model call chat {model} CLIENT, child of the step Tool call execute tool {name} INTERNAL, child of the step Every span carries gen ai.conversation.id , the dsh session id. Metrics Instrument Unit gen ai.client.token.usage {token} gen ai.client.operation.duration s gen ai.execute tool.duration s The plugin does not emit logs. The harness already ships @deepseek-ai/dsh-session-telemetry-otel for logs. The two packages work together. docs/design.md gives the full attribute tables. Install Then mount the plugin in $DSH HOME/profiles/ /cordis.patch.yml : insert adds a new entry. A patch that names an id replaces the whole config of that entry. Confirm the mount with dsh --profile --dump-conf…

在 GitHub 查看完整 README →
Agent/智能体agentdeepseek-harnessdshdsh-pluginobservabilityopentelemetryoteltracing

分类