forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(Docs+) Flush out Resource+Task troubleshooting (elastic#111773)
* (Docs+) Flush out Resource+Task troubleshooting --------- Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com> Co-authored-by: David Turner <david.turner@elastic.co>
- Loading branch information
1 parent
5b2d861
commit 42bd3ea
Showing
5 changed files
with
135 additions
and
49 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 |
---|---|---|
@@ -1,30 +1,20 @@ | ||
// tag::cloud[] | ||
From your deployment menu, click **Performance**. The page's **CPU Usage** chart | ||
shows your deployment's CPU usage as a percentage. | ||
* (Recommended) Enable {cloud}/ec-monitoring-setup.html[logs and metrics]. When logs and metrics are enabled, monitoring information is visible on {kib}'s {kibana-ref}/xpack-monitoring.html[Stack Monitoring] page. | ||
+ | ||
You can also enable the {kibana-ref}/kibana-alerts.html[CPU usage threshold alert] to be notified about potential issues through email. | ||
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. | ||
* From your deployment menu, view the {cloud}/ec-saas-metrics-accessing.html[**Performance**] page. On this page, you can view two key metrics: | ||
** **CPU usage**: Your deployment's CPU usage, represented as a percentage. | ||
** **CPU credits**: 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 | ||
`name` column contains the node's name. | ||
// end::cpu-usage-cat-nodes[] | ||
{ess} grants {cloud}/ec-vcpu-boost-instance.html[CPU credits] per deployment | ||
to provide smaller clusters with performance boosts when needed. High CPU | ||
usage can deplete these credits, which might lead to {cloud}/ec-scenario_why_is_performance_degrading_over_time.html[performance degradation] and {cloud}/ec-scenario_why_are_my_cluster_response_times_suddenly_so_much_worse.html[increased cluster response times]. | ||
// 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] | ||
|
||
* Enable <<monitoring-overview,{es} monitoring>>. When logs and metrics are enabled, monitoring information is visible on {kib}'s {kibana-ref}/xpack-monitoring.html[Stack Monitoring] page. | ||
+ | ||
You can also enable the {kibana-ref}/kibana-alerts.html[CPU usage threshold alert] to be notified about potential issues through email. | ||
// end::self-managed[] |
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
72 changes: 55 additions & 17 deletions
72
docs/reference/troubleshooting/common-issues/task-queue-backlog.asciidoc
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