docs: 修复接入方案第 4 节表格分桶行被说明段落打断

- 分桶行移回指标定义表格内(此前被追溯字段说明段落挤出,渲染为孤立文本)
- 说明段落调整至表格之后

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
clz
2026-08-06 14:34:38 +08:00
parent 9e29282be3
commit 487ad9e074
@@ -40,15 +40,15 @@ time + icon_input_time + start_type + process_name
## 4. 指标定义
| 项目 | 建议值 |
|---|---|
| ---- | -------------------------------------------------------------------------------------------------------------------------------------- |
| 模块 | `launch` |
| 指标名 | `cold_start_time` |
| 指标值 | 冷启动耗时,单位 ms |
| 维度 | `start_type``entry_page``app_version``is_first_install` |
| 追溯字段 | `response_latency``animation_finish_time``startability_processstart_dur``appattach_to_appforeground_dur``git_commit``is_backfill` |
| 分桶 | `[500, 600, 700, 800, 1000, 1500, 2000, 3000]` |
追溯通道上传最小必要字段:核心指标、4 个维度(含 `is_first_install`,区分安装后首启的偏高耗时)、启动生命周期各阶段时间(`response_latency`/`animation_finish_time`/`startability_processstart_dur`/`appattach_to_appforeground_dur`,用于劣化分段定位;`response_latency` 需 API 22+,两个 `*dur` 仅冷启动存在)、`git_commit`(代码级追溯)与补报标识。去重为客户端行为(第 3.2 节,进程内存保留最近 20 个事件键),上传负载无需携带去重键与事件时间字段。其余候选字段(`process_name``time`/`icon_input_time`、环境 `device_type`/`system_version`/`build_mode`/`target_name`、版本 `bundle_version`/`bundle_name` 等)在系统事件与客户端均可获取,按需加回上传即可,无需改动采集逻辑。
| 分桶 | `[500, 600, 700, 800, 1000, 1500, 2000, 3000]` |
模块名使用小写字母和连字符;指标名不包含连字符。维度控制在必要范围内,避免将用户 ID、完整 URL 等高基数字段作为维度。