Repository navigation
docs: 历史接口的 step 字段 - #34
Merged
Merged
Conversation
- 保留天数 1–365、默认 90,最近 7 天按分钟、更早按小时;推荐天数与占用;升级后的汇总与回收 - 回收空间需要约两倍于数据库的空闲磁盘 - 主题契约:/api/me 的 history_days、窗口上限、超过 7 天的窗口的口径
响应顶层的 step 是每个点覆盖的秒数,minutes 的满额改按 step ÷ 60 说明。
# Conflicts: # src/content/dev/theme.mdx
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.
主题开发文档补上历史接口新返回的
step。step是每个点覆盖的秒数:7 天以内是 60 的倍数,更宽的窗口是 3600 的倍数minutes的满额改为按step÷ 60 说明,不再要主题自己推算点距minutes只算到当前,不满额不代表离线step测试
npm run lint、npm run build(含站内链接检查)通过对应 hub monitor-probe/monitor#86。基于 #33 的分支,#33 合入后改到 main 上