Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the edit dialog for FlowRule and ParamFlowRule in Sentinel dashboard #845

Merged
merged 2 commits into from
Jun 17, 2019

Conversation

sczyh30
Copy link
Member

@sczyh30 sczyh30 commented Jun 17, 2019

Signed-off-by: Eric Zhao sczyh16@gmail.com

Describe what this PR does / why we need it

Improve the edit dialog for FlowRule and ParamFlowRule in Sentinel dashboard.

Does this pull request fix one issue?

NONE

Describe how you did it

  • Add durationInSec and fallbackToLocalWhenFail configuration support for ParamFlowRule
  • Some other refinements

Describe how to verify it

Run the dashboard.

Special notes for reviews

NONE

- Add duration configuration support for ParamFlowRule
- Some other enhancements

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
@sczyh30 sczyh30 added to-review To review area/dashboard Issues or PRs about Sentinel Dashboard labels Jun 17, 2019
@sczyh30 sczyh30 requested review from jasonjoo2010 and cdfive June 17, 2019 11:51
@codecov-io
Copy link

codecov-io commented Jun 17, 2019

Codecov Report

Merging #845 into master will increase coverage by 0.38%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #845      +/-   ##
============================================
+ Coverage     41.73%   42.12%   +0.38%     
- Complexity     1383     1399      +16     
============================================
  Files           305      305              
  Lines          8807     8853      +46     
  Branches       1188     1203      +15     
============================================
+ Hits           3676     3729      +53     
+ Misses         4677     4672       -5     
+ Partials        454      452       -2
Impacted Files Coverage Δ Complexity Δ
...ntinel/slots/block/degrade/DegradeRuleManager.java 23% <0%> (+1.72%) 9% <0%> (+2%) ⬆️
...a/csp/sentinel/slots/statistic/base/LeapArray.java 70.29% <0%> (+2.97%) 34% <0%> (+1%) ⬆️
...tinel/slots/block/flow/param/ParamFlowChecker.java 56.08% <0%> (+3.37%) 30% <0%> (+2%) ⬆️
...ava/com/alibaba/csp/sentinel/node/ClusterNode.java 100% <0%> (+4.76%) 8% <0%> (+1%) ⬆️
.../csp/sentinel/slots/block/degrade/DegradeRule.java 73.33% <0%> (+12.28%) 32% <0%> (+10%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 254ccbb...b45910e. Read the comment docs.

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
Copy link
Collaborator

@jasonjoo2010 jasonjoo2010 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard Issues or PRs about Sentinel Dashboard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants