@deepseek-ai/dsh-otel 0.2.0-rc.2 → 0.2.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.i18n.yaml +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/package.json +5 -5
package/README.i18n.yaml
CHANGED
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
en: f141a9d909c555d8
|
|
19
19
|
zh: e4f5b690ccb1337c
|
|
20
20
|
/deepseek-ai-dsh-otel/understand-the-implementation:
|
|
21
|
-
en:
|
|
22
|
-
zh:
|
|
21
|
+
en: d1b6f8f2b25ea252
|
|
22
|
+
zh: 73d6147bae811ce0
|
|
23
23
|
/deepseek-ai-dsh-otel/further-exploration:
|
|
24
24
|
en: ee17b991de098cc0
|
|
25
25
|
zh: f90257e411921f2b
|
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ Headers are explicit. The service does not add a channel header or inherit ambie
|
|
|
36
36
|
|
|
37
37
|
`src/index.ts` registers the service; `event-log.ts` owns ordinary SDK batching; `session-log.ts` owns byte/count scheduling; `transport.ts` supplies the Session SDK JSON HTTP delegate; `event-transport.ts` uses Got for cancellable ordinary-event HTTP requests and retry waits with SDK serialization and export accounting. No global OTel provider is installed. The Session processor measures each record once, groups conservative sizes, and waits for the SDK concurrency queue to clear after every callback before sending another request.
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
Composition tests exercise independent channels and service removal; adapter tests cover dependent-fiber cleanup and feedback authorization.
|
|
40
40
|
|
|
41
41
|
<a id="further-exploration"></a>
|
|
42
42
|
## Further Exploration
|
package/README.zh.md
CHANGED
|
@@ -36,7 +36,7 @@ Header 显式提供。服务不会附加 channel header,也不继承环境中
|
|
|
36
36
|
|
|
37
37
|
`src/index.ts` 注册服务;`event-log.ts` 负责普通事件的 SDK 聚合;`session-log.ts` 负责字节和条数调度;`transport.ts` 提供 Session 的 SDK JSON HTTP delegate;`event-transport.ts` 使用 Got 实现可取消的普通事件 HTTP 请求和重试等待,序列化与导出计数仍由 SDK 负责。不安装全局 OTel provider。Session processor 对每条记录只计量一次,按保守大小组包,并在每次回调后等待 SDK 并发队列清理完成才发送下一请求。
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
组合测试覆盖独立通道和服务移除;适配器测试覆盖依赖 fiber 清理与反馈授权。
|
|
40
40
|
|
|
41
41
|
<a id="further-exploration"></a>
|
|
42
42
|
## 进一步探索
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-otel",
|
|
3
3
|
"description": "Cordis service for independent ordinary-event and byte-bounded Session-log OTLP channels",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1-alpha.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"got": "^14.6.6"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
41
|
-
"@deepseek-ai/dsh-session": "0.2.
|
|
40
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
41
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
45
|
-
"@deepseek-ai/dsh-session": "0.2.
|
|
44
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
45
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.1"
|
|
46
46
|
}
|
|
47
47
|
}
|