dawei008/dsh-session-telemetry-otlp-trace

dawei008★ 0TypeScript最后同步: 2026-08-21

在 GitHub 打开

OpenTelemetry GenAI trace plugin for DeepSeek Harness

README 摘要

@dawei008/dsh-session-telemetry-otlp-trace English 中文 OpenTelemetry GenAI trace provider for the DSH session telemetry service. It projects each turn into an invoke agent root span, each model call into a chat child span, and each tool execution into an execute tool child span, then exports OTLP/HTTP traces without depending on an observability vendor. This is a standalone extraction of the DeepSeek Harness trace plugin. Install The host DeepSeek Harness supplies the DSH and Cordis peer dependencies. Some DSH internal packages are not published to npm, so this repository commits the verified JavaScript and type declarations required for direct GitHub installs. The TypeScript source and OTLP wire tests are retained for review; run those tests from a compatible DeepSeek Harness checkout. Configuration This package and @deepseek-ai/dsh-session-telemetry-otel provide the same sessionTelemetry service, so a profile enables exactly one. An explicit exporter URL is the full OTLP /v1/traces URL. When it is omitted, the plugin follows the standard OTEL EXPORTER OTLP TRACES ENDPOINT or OTEL EXPORTER OTLP ENDPOINT environment variables. AgentCore and other managed ADOT environments can provid…

在 GitHub 查看完整 README →
工具/开发adotaws-agentcoredeepseek-harnessdsh-plugingenaiopentelemetryotlpagent

分类