Skip to content

docs: 流量约每分钟记账、hub 按 agent 节奏收帧、安装弹窗沿用上报间隔 - #23

Merged
stqfdyr merged 3 commits into
mainfrom
docs/ingest-cadence
Sep 29, 2026
Merged

stqfdyr merged 3 commits into
mainfrom
docs/ingest-cadence

Conversation

@stqfdyr

@stqfdyr stqfdyr commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

对应 monitor#59、monitor#60,随包含它们的 hub 版本发布后合入。

  • 开发 / 架构:traffic 表约每分钟写一次,补记账方式(每节点保留最新读数,跨分钟、断点两侧、断开与退出时记账,结果与逐条记账相同);探测结果按分钟成批写入;hub 丢弃超出 agent 节奏的帧(上报间隔不足 500 ms、第二个 hello、每 5 秒超过 128 条 ping.result)
  • 开发 / 主题:boot_id 与原始计数器谁都拿不到,iface 与地址一样只在登录后返回;匿名拿不到的地址补上面板新增的 ipv4_auto、ipv6_auto、addresses;metrics 里的四个流量字段由 hub 填入,与顶层相同
  • 配置 / 流量统计:三个流量数字约每分钟更新一次
  • 安装 / agent:单台安装弹窗预填当前的上报间隔,没改就不写进命令

npm run build、npm run lint 通过。

@stqfdyr
stqfdyr force-pushed the docs/ingest-cadence branch from 2aedb7d to 4db2ea1 Compare September 24, 2026 14:28
@stqfdyr
stqfdyr merged commit b3d9382 into main Sep 29, 2026
1 check passed
@stqfdyr
stqfdyr deleted the docs/ingest-cadence branch September 29, 2026 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant