-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add spec for cluster stats metric and index_metric filter path. (#639)
Signed-off-by: Swetha Guptha <[email protected]> Co-authored-by: Swetha Guptha <[email protected]>
- Loading branch information
1 parent
6065144
commit 6bb1fed
Showing
5 changed files
with
117 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
$schema: ../../../../json_schemas/test_story.schema.yaml | ||
|
||
description: Test cluster manager stats. | ||
# TODO: Re-enable in 3.0, see https://github.com/opensearch-project/opensearch-api-specification/pull/613 | ||
version: '>= 2.18 < 3' | ||
chapters: | ||
- synopsis: Get mapping and analysis indices stats. | ||
path: /_cluster/stats/{metric}/{index_metric}/nodes/{node_id} | ||
method: GET | ||
parameters: | ||
node_id: _all | ||
metric: | ||
- indices | ||
index_metric: | ||
- analysis | ||
- mappings | ||
response: | ||
status: 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
$schema: ../../../../json_schemas/test_story.schema.yaml | ||
|
||
description: Test cluster manager stats. | ||
# TODO: Re-enable in 3.0, see https://github.com/opensearch-project/opensearch-api-specification/pull/613 | ||
version: '>= 2.18 < 3' | ||
chapters: | ||
- synopsis: Get nodes fs and jvm stats. | ||
path: /_cluster/stats/{metric}/nodes/{node_id} | ||
method: GET | ||
parameters: | ||
node_id: _all | ||
metric: | ||
- fs | ||
- jvm | ||
response: | ||
status: 200 | ||
|