-
Notifications
You must be signed in to change notification settings - Fork 34
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
Create Upload Stats Service to build response for stats API #62
Create Upload Stats Service to build response for stats API #62
Conversation
9f043fd
to
d9c4118
Compare
Create an entity that will be used to summarize all metrics. Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
2bab8f2
to
7bcab8d
Compare
Codecov Report
@@ Coverage Diff @@
## main #62 +/- ##
============================================
+ Coverage 89.44% 90.46% +1.02%
- Complexity 132 144 +12
============================================
Files 19 21 +2
Lines 483 535 +52
Branches 35 38 +3
============================================
+ Hits 432 484 +52
Misses 47 47
Partials 4 4
Continue to review full report at Codecov.
|
"uploads": { | ||
"total": { | ||
request_count : # of request, | ||
"uplod" : sum of documents to upload across API, |
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.
[nit] upload
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.
Ack
This service will build final XContent for stats from upload API across Nodes. Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
1605eb5
to
315ba7e
Compare
Description
Add upload stats service to build XContent for StatsNodesResponse. It generates following json as response body
Issues Resolved
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.