-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed content-type for /hot_threads. (#543)
Signed-off-by: dblock <[email protected]>
- Loading branch information
Showing
5 changed files
with
84 additions
and
91 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,32 @@ | ||
$schema: ../../../../json_schemas/test_story.schema.yaml | ||
|
||
description: Provides information about busy JVM threads for selected cluster nodes. | ||
chapters: | ||
- synopsis: Get busy JVM threads for all nodes. | ||
path: /_cluster/nodes/hot_threads | ||
method: GET | ||
response: | ||
status: 200 | ||
content_type: text/plain | ||
- synopsis: Get busy JVM threads for all nodes with parameters. | ||
path: /_cluster/nodes/hot_threads | ||
method: GET | ||
parameters: | ||
snapshots: 3 | ||
interval: 100ms | ||
threads: 1 | ||
ignore_idle_threads: false | ||
type: wait | ||
timeout: 10s | ||
response: | ||
status: 200 | ||
content_type: text/plain | ||
- synopsis: Get _all node busy JVM threads (node_id). | ||
path: /_cluster/nodes/{node_id}/hot_threads | ||
method: GET | ||
parameters: | ||
node_id: | ||
- _all | ||
response: | ||
status: 200 | ||
content_type: text/plain |
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,32 @@ | ||
$schema: ../../../json_schemas/test_story.schema.yaml | ||
|
||
description: Provides information about busy JVM threads for selected cluster nodes. | ||
chapters: | ||
- synopsis: Get busy JVM threads for all nodes. | ||
path: /_nodes/hot_threads | ||
method: GET | ||
response: | ||
status: 200 | ||
content_type: text/plain | ||
- synopsis: Get busy JVM threads for all nodes with parameters. | ||
path: /_nodes/hot_threads | ||
method: GET | ||
parameters: | ||
snapshots: 3 | ||
interval: 100ms | ||
threads: 1 | ||
ignore_idle_threads: false | ||
type: wait | ||
timeout: 10s | ||
response: | ||
status: 200 | ||
content_type: text/plain | ||
- synopsis: Get _all node busy JVM threads (node_id). | ||
path: /_nodes/{node_id}/hot_threads | ||
method: GET | ||
parameters: | ||
node_id: | ||
- _all | ||
response: | ||
status: 200 | ||
content_type: text/plain |