tma1-ai/dsh-otel1

@tma1-ai/dsh-plugin-greptimedb

OpenTelemetry traces, metrics, and logs for DeepSeek Harness, written straight into GreptimeDB.

包名
@tma1-ai/dsh-plugin-greptimedb
版本
0.1.0-beta.2
许可证
Apache-2.0
最近更新
2026年8月25日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tma1-ai/dsh-otel

Configuration

KeyDefaultNotes
endpoint(required)OTLP base URL, e.g. http://localhost:4000/v1/otlp. The plugin appends each signal's /v1/{traces,metrics,logs} suffix; a per-signal path is rejected at load.
databasepublicSent as X-Greptime-DB-Name.
username / password(none)Basic auth. Both or neither.
signalsall threeAny subset of traces, metrics, logs. A disabled signal builds no exporter.
contentnoneHow much payload may leave the process. See What leaves the machine.
serviceNamedshOTel service.name.
logTable / traceTableGreptimeDB defaultsDestination table overrides.
ttl180dRetention for the log and trace tables this plugin creates, sent as x-greptime-hints. Also accepts forever. GreptimeDB applies it when it auto-creates the table; an existing table keeps its own until ALTER TABLE. Metric tables are not covered — see Known limitations. Set it empty to send no hint and inherit the database default.
shutdownTimeoutMillis3000Deadline for the entire teardown sequence.
metricIntervalMillis30000Metric collection period. Must be at least exportTimeoutMillis.
maxExportBatchSize / maxQueueSize512 / 2048Batch and buffer bounds.
scheduledDelayMillis / exportTimeoutMillis5000 / 30000Export cadence and per-request deadline.

Bad configuration fails at plugin load with the offending field named, not at the first export.