elasticsearch/docs/reference/tab-widgets/cpu-usage.asciidoc
James Rodewig 55c4138b10
[DOCS] Add docs for rejected requests and high CPU usage (#72640)
Adds docs for rejected requests and high CPU usage.

Closes #72468.

Closes #69868.
2021-08-02 09:11:23 -04:00

30 lines
913 B
Text

// 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[]