-
Notifications
You must be signed in to change notification settings - Fork 1.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
Added Point In Time Node Stats API ServiceLayer Changes #4030
Added Point In Time Node Stats API ServiceLayer Changes #4030
Conversation
Signed-off-by: Ajay Kumar Movva <movvaam@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
… into feature/pit_stats
Gradle Check (Jenkins) Run Completed with:
|
server/src/main/java/org/opensearch/index/search/stats/SearchStats.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/search/stats/SearchStats.java
Outdated
Show resolved
Hide resolved
Gradle Check (Jenkins) Run Completed with:
|
232c48e
to
f46f7eb
Compare
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
…eature/pit_stats Signed-off-by: Ajay Kumar Movva <movvaam@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
ec24fa4
to
1d9a701
Compare
Gradle Check (Jenkins) Run Completed with:
|
1d9a701
to
72f8aba
Compare
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Please add a sample output of node stats API in the PR description. I am not sure if I understand what each metric provides just by looking at the name. For example, from PR description, |
72f8aba
to
bf2dfdc
Compare
Added the Sample Output in the PR Description.
|
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Ajay Kumar Movva <movvaam@amazon.com>
bf2dfdc
to
82aa086
Compare
Gradle Check (Jenkins) Run Completed with:
|
@ajaymovva could you please:
[1] https://github.com/opensearch-project/OpenSearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/test/cat.shards/10_basic.yml#L11 |
This PR is only for the service layer changes related to node stats.
|
We use squash and merge policy while merging PRs. That means PR title becomes commit message for the merged PR. Please use imperative mood while writing PR title. |
server/src/main/java/org/opensearch/index/search/stats/SearchStats.java
Outdated
Show resolved
Hide resolved
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Ajay Kumar Movva <movvaam@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #4030 +/- ##
============================================
- Coverage 70.62% 70.41% -0.21%
+ Complexity 57073 56967 -106
============================================
Files 4603 4603
Lines 274500 274535 +35
Branches 40206 40209 +3
============================================
- Hits 193856 193319 -537
- Misses 64393 64949 +556
- Partials 16251 16267 +16
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
…roject#4030) * Adds Node Stats api changes for the Point in time Signed-off-by: Ajay Kumar Movva <movvaam@amazon.com>
Signed-off-by: Ajay Kumar Movva movvaam@amazon.com
Description
This PR has service layer changes for the point in time stats in node stats api.
point_in_time_current
: No of open pit contexts.point_in_time_time_in_millis
: Time pit contexts held open.point_in_time_total
: Completed pit contexts.Sample Output.
localhost:9200/my-index-000001/_doc/
.keep-alive
as1m
,2m
,3m
.Issues Resolved
#1147
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.