Repository navigation
feat: 监控详情支持可配置自动刷新和趋势时间范围 - #55
Merged
Merged
Conversation
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.
网关运行监控和服务监控详情默认每30秒自动刷新,可选择关闭、10秒、30秒或1分钟;关闭详情或离开缓存页面后暂停刷新,慢请求期间避免重叠。流量趋势和历史趋势新增30m、2h时间范围,与后端同步发布。
复用现有 VueUse 定时器和监控 API,刷新服务目录、即时指标及历史图表。新增刷新生命周期回归测试,并加入 CI。
验证:刷新行为与监控相关测试通过;生产构建和类型检查通过。前端全量测试仍有既有格式化/校验工具及 CSS 加载等失败,本次不修改这些模块。