-
Notifications
You must be signed in to change notification settings - Fork 25.5k
(Docs+) Flush out Resource+Task troubleshooting #111773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
789b445
(Docs+) Flush out Resource+Task troubleshooting
stefnestor b38bcec
add taskQueueBacklog most common task commands
stefnestor a3cd4c9
typo
stefnestor a793b09
Update docs/reference/troubleshooting/common-issues/rejected-requests…
shainaraskas 7fe92b4
feedback
stefnestor 02befb3
feedback
stefnestor 5925b61
feedback
stefnestor 9fd490b
feedback
stefnestor 439a0fa
feedback
stefnestor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.