-
Notifications
You must be signed in to change notification settings - Fork 185
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
Fix /cluster/stats
in a backwards compatible way
#851
Conversation
Signed-off-by: dblock <dblock@amazon.com>
036f355
to
a0dd840
Compare
Signed-off-by: dblock <dblock@amazon.com>
a0dd840
to
5fcb4e5
Compare
/cluster/stats
in a backwards compatible way
Signed-off-by: dblock <dblock@amazon.com>
53b00f6
to
91298d9
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #851 +/- ##
==========================================
- Coverage 71.95% 70.31% -1.64%
==========================================
Files 91 125 +34
Lines 8001 9299 +1298
==========================================
+ Hits 5757 6539 +782
- Misses 2244 2760 +516 ☔ View full report in Codecov by Sentry. |
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.
Description
The
/_cluster/stats
endpoint exists now in all its glorious variations up to/_cluster/stats/indices/analysis/nodes/test-node
which includes a metric (new), an index metric (new), and a node id (old). The generator added the metric and index metric in order, added a patch that swaps them to the end of the list to preserve backwards compatibility.Adds
insights
,list
andwlm
APIs amongst others from spec.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.