fly3366/dsh-o11y-plugin
fly3366★ 2TypeScript最后同步: 2026-08-15
Unified plugin-dimension observability (trace/log/metric) for deepseek-harness: registers global OTel providers + OTLP export, bridges dsh session telemetry, GenAI semconv ready
README 摘要
dsh-o11y-plugin Unified plugin-dimension observability (trace / log / metric) for deepseek-harness (dsh). 中文文档 Overview dsh ships session-level OTel telemetry but exposes no metric or plugin-scoped observability to plugins. dsh-o11y-plugin converges that gap: it registers global OpenTelemetry providers so any plugin using the standard @opentelemetry/api exports traces, metrics, and logs through a single, consistently configured pipeline, and it bridges dsh session telemetry into OTel logs. It is intended for plugin authors who want standard, community-compatible observability without implementing OTel per plugin. Compatibility Item Value DSH version @deepseek-ai/dsh 0.1.0-rc.6 (Cordis 4.0.1 ) Last verified 2026-08-14 (unit tests against @deepseek-ai/cordis 4.0.1 ) Node ^22.19 \ \ =24 Profiles headless , web Built on the official OpenTelemetry Node.js SDK, the same dependency family as dsh's session-telemetry-otel . Install / Uninstall The plugin is stateless; removal requires no data cleanup. Quick start Any plugin that calls trace.getTracer(...) / metrics.getMeter(...) / logs.getLogger(...) from @opentelemetry/api is then exported automatically. deepjit is the reference consumer, …
在 GitHub 查看完整 README →