-
Notifications
You must be signed in to change notification settings - Fork 504
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
[DOC] Update remote store stats api documentation with latest segments and translog fields #4904
Comments
This is corresponding to https://opensearch.org/docs/latest/tuning-your-cluster/availability-and-recovery/remote-store/remote-store-stats-api/ page. |
@Naarcha-AWS - Is there something more to do with this issue for 2.10? |
@Naarcha-AWS - Is this ok to close? |
This is okay to close, unless @ashking94, you have any additional information I should add to the page you linked. |
Remote Store Stats API [Proposed Doc change]Use the Remote Store Stats API to monitor shard-level remote store performance. Metrics are only relevant if the index is remote store backed. For an aggregated output on an index, node or cluster level, use the Index Stats, Nodes Stats or Cluster Stats API respectively Path and HTTP methods
Path parametersThe following table lists the available path parameters. All path parameters are optional.
Remote store stats for an indexUse the following API to get remote store statistics for all shards of an index. Example request
Example response
Response fieldsThe response is categorized into 3 parts:
Should go inside an info section:
For instance, segment download stats will be empty for a primary shard copy since primary shard copies does not need to download any segments from the remote store. On the other hand, replica shard copies will have an empty uploads section since replicas do not need to upload any segments to the remote store. Translog stats will always be populated only for the primary shard copies because only the primary shards participate in translog uploads and recovery from translogs downloaded from the remote store. The
The
The
The
The
Remote store stats for a single shardUse the following API to get remote store statistics for a single shard. Example request
Example response
Remote store stats for local shardsProvide the
|
@Naarcha-AWS I can attempt to do this by tomorrow IST hours if you do not get the time. |
This closes opensearch-project#4904 Signed-off-by: Ashish <[email protected]>
* Update remote store stats api documentation This closes #4904 Signed-off-by: Ashish <[email protected]> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * Update remote-store-stats-api.md * Apply suggestions from code review Co-authored-by: Chris Moore <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> --------- Signed-off-by: Ashish <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> Co-authored-by: Naarcha-AWS <[email protected]> Co-authored-by: Chris Moore <[email protected]> Co-authored-by: Nathan Bower <[email protected]>
* Update remote store stats api documentation This closes #4904 Signed-off-by: Ashish <[email protected]> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * Update remote-store-stats-api.md * Apply suggestions from code review Co-authored-by: Chris Moore <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> --------- Signed-off-by: Ashish <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> Co-authored-by: Naarcha-AWS <[email protected]> Co-authored-by: Chris Moore <[email protected]> Co-authored-by: Nathan Bower <[email protected]> (cherry picked from commit 9242b88) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Update remote store stats api documentation This closes #4904 * Apply suggestions from code review * Update remote-store-stats-api.md * Apply suggestions from code review * Apply suggestions from code review --------- (cherry picked from commit 9242b88) Signed-off-by: Ashish <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Naarcha-AWS <[email protected]> Co-authored-by: Chris Moore <[email protected]> Co-authored-by: Nathan Bower <[email protected]>
* Update remote store stats api documentation This closes #4904 Signed-off-by: Ashish <[email protected]> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * Update remote-store-stats-api.md * Apply suggestions from code review Co-authored-by: Chris Moore <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> --------- Signed-off-by: Ashish <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> Co-authored-by: Naarcha-AWS <[email protected]> Co-authored-by: Chris Moore <[email protected]> Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Melissa Vagi <[email protected]>
* Update remote store stats api documentation This closes opensearch-project#4904 Signed-off-by: Ashish <[email protected]> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * Update remote-store-stats-api.md * Apply suggestions from code review Co-authored-by: Chris Moore <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> --------- Signed-off-by: Ashish <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> Co-authored-by: Naarcha-AWS <[email protected]> Co-authored-by: Chris Moore <[email protected]> Co-authored-by: Nathan Bower <[email protected]>
* Update remote store stats api documentation This closes #4904 Signed-off-by: Ashish <[email protected]> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * Update remote-store-stats-api.md * Apply suggestions from code review Co-authored-by: Chris Moore <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> --------- Signed-off-by: Ashish <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> Co-authored-by: Naarcha-AWS <[email protected]> Co-authored-by: Chris Moore <[email protected]> Co-authored-by: Nathan Bower <[email protected]>
What do you want to do?
Tell us about your request. Provide a summary of the request and all versions that are affected.
Corresponding to -
_remotestore/stats/
API OpenSearch#9263What other resources are available? Provide links to related issues, POCs, steps for testing, etc.
The text was updated successfully, but these errors were encountered: