dawei008/dsh-session-telemetry-otlp-trace ↗★ 0
@dawei008/dsh-session-telemetry-otlp-trace
OpenTelemetry GenAI trace backend for DeepSeek Harness session telemetry
AI Analysis
核心用途是将 DSH 的会话遥测数据通过 OTLP 协议发送至 OpenTelemetry 收集器。适合需要对智能体执行链路进行深度监控、性能分析和分布式追踪的系统管理员或开发者。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗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.
- id: session-telemetry-otel
disabled: true
- id: session-telemetry-otlp-trace
disabled: false
config:
mode: FULL
captureContent: false
shutdownTimeoutMillis: 5000
exporter:
url: http://otel-collector.internal:4318/v1/traces
compression: gzip
timeoutMillis: 5000
processor:
scheduledDelayMillis: 2000
maxQueueSize: 4096
maxExportBatchSize: 512
exportTimeoutMillis: 5000
AgentCore and other managed ADOT environments can provide the endpoint and resource identity without an exporter block:
export OTEL_EXPORTER_OTLP_ENDPOINT=http://127.0.0.1:4318
export OTEL_SERVICE_NAME=deepseek-harness
export OTEL_RESOURCE_ATTRIBUTES=deployment.environment.name=agentcore
An AgentCore adapter can set DSH_AGENTCORE_SESSION_ID and
DSH_AGENTCORE_USER_PROMPT for the root span's evaluation session, task input,
and agentcore.invocation.* aliases.
mode accepts FULL, FEEDBACK_ONLY, and DISABLED with the same capture policy as the log backend. captureContent defaults to false; enabling it exports system instructions, model output, tool definitions, tool arguments, tool results, and user-message events after the deployment's session-telemetry/record redaction rules run.