docs: 历史分两层存储、保留天数与主题的时间范围 - #33
Merged
Merged
Conversation
- 保留天数 1–365、默认 90,最近 7 天按分钟、更早按小时;推荐天数与占用;升级后的汇总与回收 - 回收空间需要约两倍于数据库的空闲磁盘 - 主题契约:/api/me 的 history_days、窗口上限、超过 7 天的窗口的口径
This was referenced Sep 29, 2026
Merged
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.
/api/me的history_days;历史指标的cpu_max与minutes(积分流量、在线率,以及 agent 上报间隔超过 60 秒时minutes按比例偏小);hours的上限改为保留天数且登录与匿名相同,时间范围按它生成;超过 7 天的窗口的口径配套:hub monitor-probe/monitor#81(含导入上限)、monitor-probe/monitor#84;主题 monitor-probe/monitor-theme-default#19、monitor-probe/monitor-theme-serverstatus#18