-
Notifications
You must be signed in to change notification settings - Fork 45
Add metrics api and manager #78
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #78 +/- ##
============================================
+ Coverage 76.74% 77.16% +0.42%
- Complexity 587 604 +17
============================================
Files 99 102 +3
Lines 2541 2593 +52
Branches 159 163 +4
============================================
+ Hits 1950 2001 +51
- Misses 471 472 +1
Partials 120 120
Continue to review full report at Codecov.
|
@SuppressWarnings("unchecked") | ||
public Map<String, Map<String, Object>> backend() { | ||
RestResult result = this.client.get(this.path(), "backend"); | ||
return result.readObject(Map.class); |
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.
check value is map or call readObject(Type)
public Map<String, Map<String, Object>> backend() { | ||
RestResult result = this.client.get(this.path(), "backend"); | ||
return result.readObject(Map.class); | ||
} |
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.
also adapt for metrics/system and metrics/
rebase please |
Change-Id: If449304910f4b448d9a13ba8c23954503c130732
Change-Id: Id59ec6e57afdaee27a251d454a7563031b68c052
Change-Id: I0847518c7797afe5533ab6ab462a76ec6c88f1e3
No description provided.