loongsuite/dsh-plugin

loongsuite★ 3TypeScriptLast synced: 2026-08-16

Open on GitHub

OpenTelemetry tracing for DeepSeek Harness (dsh): turns each agent turn into a GenAI span tree — steps, LLM calls with TTFT, tool executions, token usage — exported over standard OTLP to Jaeger, Grafana Tempo, SigNoz, Langfuse, or any compatible backend.

README excerpt

LoongSuite observability for DeepSeek Harness English 简体中文 @loongsuite/dsh-plugin is a standalone, open-source observability plugin for DeepSeek Harness ( dsh ). It observes DSH's native session, agent loop, LLM stream, and tool lifecycle, converts them into OpenTelemetry GenAI traces and metrics, and exports standard OTLP/HTTP protobuf to any compatible backend. LoongSuite is an open-source observability collection ecosystem built on OpenTelemetry. This repository is its native DSH integration. The plugin does not depend on or require LoongSuite Pilot, a sidecar, a local JSONL tap, or any particular vendor's backend. Status: beta release. Install the npm beta with @loongsuite/dsh-plugin@beta . The plugin is listed in the community registry, so it can also be installed from the DSH plugin market. One DSH turn exported over OTLP into self-hosted Langfuse: four react steps, per-call latency and token counts, a failed web search followed by bash fallbacks, and the ENTRY span's GenAI attributes. Content capture was enabled for this capture; it is off by default. Data model One DSH turn produces a single trace with this shape: Each real LLM attempt gets its own LLM span, so retries rema…

View full README on GitHub →
Agentsagent-observabilityai-codingdeepseek-harnessdistributed-tracingdshdsh-plugingenaigrafana-tempo

Category