Repository navigation
feat: 按需启用浏览器 OTLP 与跨 Peer Job 追踪 - #125
Merged
Merged
Conversation
This was referenced Oct 3, 2026
xiaoland
marked this pull request as ready for review
October 3, 2026 12:56
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
新增遥测默认关闭,现有 Job/PG 日志查询保留。连接显式开启后,以标准 OTel/OTLP protobuf 导出元数据,跨 Peer 请求传播 W3C context,Job 同事务保存提交 carrier,执行创建独立 Trace+Link。私密写入凭据只在服务端,可选 core relay 使用连接的短效 Peer JWT。
真实预览修复了两处问题:共享配置读取由 1.5 秒调整为 10 秒,直发/relay exporter 分别为 10/35 秒;时延指标标签与秒分桶对齐 Core,跨 Peer 可直接聚合。关闭等待仍为 1.5 秒,不承诺浏览器退出时排空。
验证:
operation/outcome、全部显式桶边界、count=1、sum=0.0263s。依赖:共享契约 InKCre/docs#33 已合并,共享引用为
7916312。Core 功能项 InKCre/core-py#124 与 0.7.0 Release PR InKCre/core-py#123 均已合并,生产交付及 stable 晋升成功。已通过正式 stable 镜像sha256:c26e74dd6925e643e39490db739018e86897f4a07bd17da7dc3f8cffb67dce25重新生成数据库契约,生成结果无差异;CI 已重新运行以验证正式准入版本。回退:关闭连接本地遥测并重新初始化即可停止新增采集,PG 与既有 carrier 保留。网络中断、冻结、页面关闭仍可丢失尾部。Grafana 当前账号标记
free-trial,稳定 Free 额度、真实模型、webext 独立遥测生命周期及全活跃部署覆盖仍未宣称通过。合并后的既有 Pages workflow 负责生产交付,默认不开启遥测;未变更套餐。