forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DOCS] Add docs for rejected requests and high CPU usage (elastic#72640…
…) (elastic#75945) Adds docs for rejected requests and high CPU usage. Closes elastic#72468. Closes elastic#69868.
- Loading branch information
1 parent
5277305
commit 5421068
Showing
3 changed files
with
217 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
++++ | ||
<div class="tabs" data-tab-group="host"> | ||
<div role="tablist" aria-label="Check CPU usage"> | ||
<button role="tab" | ||
aria-selected="true" | ||
aria-controls="cloud-tab-cpu" | ||
id="cloud-cpu"> | ||
Elasticsearch Service | ||
</button> | ||
<button role="tab" | ||
aria-selected="false" | ||
aria-controls="self-managed-tab-cpu" | ||
id="self-managed-cpu" | ||
tabindex="-1"> | ||
Self-managed | ||
</button> | ||
</div> | ||
<div tabindex="0" | ||
role="tabpanel" | ||
id="cloud-tab-cpu" | ||
aria-labelledby="cloud-cpu"> | ||
++++ | ||
|
||
include::cpu-usage.asciidoc[tag=cloud] | ||
|
||
++++ | ||
</div> | ||
<div tabindex="0" | ||
role="tabpanel" | ||
id="self-managed-tab-cpu" | ||
aria-labelledby="self-managed-cpu" | ||
hidden=""> | ||
++++ | ||
|
||
include::cpu-usage.asciidoc[tag=self-managed] | ||
|
||
++++ | ||
</div> | ||
</div> | ||
++++ |
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,30 @@ | ||
// tag::cloud[] | ||
From your deployment menu, click **Performance**. The page's **CPU Usage** chart | ||
shows your deployment's CPU usage as a percentage. | ||
|
||
High CPU usage can also deplete your CPU credits. CPU credits let {ess} provide | ||
smaller clusters with a performance boost when needed. The **CPU credits** | ||
chart shows your remaining CPU credits, measured in seconds of CPU time. | ||
|
||
You can also use the <<cat-nodes,cat nodes API>> to get the current CPU usage | ||
for each node. | ||
|
||
// tag::cpu-usage-cat-nodes[] | ||
[source,console] | ||
---- | ||
GET _cat/nodes?v=true&s=cpu:desc | ||
---- | ||
|
||
The response's `cpu` column contains the current CPU usage as a percentage. The | ||
`node` column contains the node's name. | ||
// end::cpu-usage-cat-nodes[] | ||
|
||
// end::cloud[] | ||
|
||
// tag::self-managed[] | ||
|
||
Use the <<cat-nodes,cat nodes API>> to get the current CPU usage for each node. | ||
|
||
include::cpu-usage.asciidoc[tag=cpu-usage-cat-nodes] | ||
|
||
// end::self-managed[] |