Repository navigation
fix: 小时汇总按节点一次清完;数据页显示小时汇总的行数 - #84
Merged
Merged
Conversation
- 清理小时汇总时一个节点一条语句,不再按天分片:保留天数从 365 调到 30 后的第一次清理,29 个节点从 27.7 s 降到 1.2 s,每条语句持锁约 24 ms - 数据页加上「历史小时汇总」「延迟小时汇总」两项行数,接口原本就统计了这两张表 - 注释写明 agent 上报间隔超过 60 秒时,每行对应一个上报间隔,minutes 按比例偏小
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.
minutes的注释写明:agent 每分钟至少上报一次时它才是有数据的分钟数;--interval超过 60 秒时每行对应一个上报间隔,minutes按比例偏小,300 秒时是满额的五分之一测试
cargo fmt --check、cargo clippy --all-targets、cargo test(129 个)通过;面板 lint、test、build 通过配套:文档 monitor-probe/monitor-document#33 同步改了
minutes的说明