@tma1-ai/dsh-plugin-greptimedb
OpenTelemetry traces, metrics, and logs for DeepSeek Harness, written straight into GreptimeDB.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tma1-ai/dsh-otel说明文档
阅读完整 README ↗Configuration
| Key | Default | Notes |
|---|---|---|
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. |
database | public | Sent as X-Greptime-DB-Name. |
username / password | (none) | Basic auth. Both or neither. |
signals | all three | Any subset of traces, metrics, logs. A disabled signal builds no exporter. |
content | none | How much payload may leave the process. See What leaves the machine. |
serviceName | dsh | OTel service.name. |
logTable / traceTable | GreptimeDB defaults | Destination table overrides. |
ttl | 180d | Retention 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. |
shutdownTimeoutMillis | 3000 | Deadline for the entire teardown sequence. |
metricIntervalMillis | 30000 | Metric collection period. Must be at least exportTimeoutMillis. |
maxExportBatchSize / maxQueueSize | 512 / 2048 | Batch and buffer bounds. |
scheduledDelayMillis / exportTimeoutMillis | 5000 / 30000 | Export cadence and per-request deadline. |
Bad configuration fails at plugin load with the offending field named, not at the first export.