实现 issue #2935 中的功能#2936
Open
MisterChangRay wants to merge 10 commits intoalibaba:masterfrom
Open
Conversation
Member
|
请参考 CI 错误提示完善代码以遵循阿里巴巴代码规约:https://github.com/alibaba/Sentinel/actions/runs/3384442552/jobs/5668452647 |
Author
已跟进并处理 |
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.
Describe what this PR does / why we need it
实现 #2935 中的功能
1. dashborad后台变动
增加
MetricsExtRepository接口, 默认继承MetricsRepository, 可以传递查询参数,方便扩展。内存储存实现中增加五分钟统计维度( 使用最近的一个5分整点时间进行统计,如: 12:05,12:10, 12:15...)
内置默认按秒统计过期策略保持不变, 5分钟维度统计数据过期时间默认1天(内存也储存288条数据)
可通过
sentinel.dashboard.store.maxMetricLiveTimeOfMin5配置进行配置过期时间2. dashborad前端变动
管理后台增加五分钟维度展示(可切换),

增加全局资源统计展示

可通过异常列,成功列,失败列进行排序