-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Enhancement/normalize metric field #170
Conversation
rename exception to exceptionQps; remove ed postfix of all field in metrics.
rename exception to exceptionQps; remove ed postfix of all field in metrics.
Codecov Report
@@ Coverage Diff @@
## master #170 +/- ##
============================================
+ Coverage 51.15% 51.46% +0.31%
- Complexity 822 829 +7
============================================
Files 139 139
Lines 4737 4737
Branches 672 672
============================================
+ Hits 2423 2438 +15
+ Misses 2030 2009 -21
- Partials 284 290 +6
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
normalize metric fields and methods: - rename exception to exceptionQps; - remove ed postfix of all fields and methods about metrics;
Describe what this PR does / why we need it
Some field name or method name about metric is ambiguous or inconsistent, for example the
MetricNode.exception
is in factexceptionQps
other than total exception count, method nameNode.blockedQps()
andNode.passQps()
are not in the save tense.This may increase understanding costs and lead misuse of monitoring information.
Does this pull request fix one issue?
Fixes #169
Describe how you did it
Refactor the field and method names in
MetricNode
,Node
,NodeVo
, etc. to make it clear.Describe how to verify it
None.
Special notes for reviews
Invite @konglz to review the code.