dsh-otel: Export dsh-token-audit Aggregated Data as OTLP/JSON Metrics
dsh-otel is a DSH plugin maintained by lengrufeng2008 that converts the JSON summary from dsh-token-audit into OTLP/JSON metrics for easy ingestion by collectors such as Grafana and Langfuse. It exposes only aggregate-level metrics (cost, tokens, sessions, calls, and per-model stats), with no network data and no per-turn spans. This article describes the CLI pipeline and the otel_export usage within DSH based on the repository README, and lists metric names and usage boundaries. MIT license. Node.js >= 20.
Read Moredsh-otel: Exporting DeepSeek Harness Sessions as OpenTelemetry Spans
dsh-otel is a DeepSeek Harness plugin that translates session logs into OpenTelemetry spans, enabling DSH data to be integrated into existing tracing systems. The plugin is disabled by default and requires manually configuring an exporter; it supports OTLP/HTTP and stdout export. It focuses on one-way data conversion, does not depend on an SDK runtime, and includes only names, IDs, timestamps, token counts, and metadata, making it suitable for developers who need to connect DSH debug data to their existing observability stack.
Read More