Skip to content

Commit

Permalink
es backpressure troubleshoot doc fmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
1pkg committed Jul 31, 2024
1 parent d76bb44 commit f46701a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/en/observability/apm/apm-performance-diagnostic.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,18 @@ To quickly identify possible issues try looking for similar error logs lines in

To gain better insight into APM Server health and performance, consider enabling the monitoring feature by following the steps in <<apm-monitor-apm-self-install,Monitor a Fleet-managed APM Server>>.
When enabled APM Server will additionally report a set of vital metrics to help you identify any performance degradation.

Pay careful attention to the next metric fields:

* `beats_stats.metrics.libbeat.output.events.active` that represents the number of buffered pending documents waiting for indexing;
(_if this value is increasing rapidly indicates {es} backpressure_)
(_if this value is increasing rapidly it indicates {es} backpressure_)
* `beats_stats.metrics.libbeat.output.events.acked` that represents the number of indexing operations that have completed successfully;
* `beats_stats.metrics.libbeat.output.events.failed` that represents the number of indexing operations that failed, it includes all failures;
(_if this value is increasing rapidly indicates {es} backpressure_)
(_if this value is increasing rapidly it indicates {es} backpressure_)
* `beats_stats.metrics.libbeat.output.events.toomany` that represents the number of indexing operations that failed due to {es} responding with 429 Too many Requests;
(_if this value is increasing rapidly indicates {es} backpressure_)
(_if this value is increasing rapidly it indicates {es} backpressure_)
* `beats_stats.output.elasticsearch.bulk_requests.available` that represents the number of bulk indexers available for making bulk index requests;
(_if this value is equal to 0 indicates {es} backpressure_)
(_if this value is equal to 0 it indicates {es} backpressure_)
* `beats_stats.output.elasticsearch.bulk_requests.completed` that represents the number of already completed bulk requests;
* `beats_stats.metrics.output.elasticsearch.indexers.active` that represents the number of active bulk indexers that are concurrently processing batches;

Expand Down
1 change: 1 addition & 0 deletions docs/en/observability/apm/troubleshoot-apm.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and processing and performance guidance.
* <<apm-common-response-codes>>
* <<apm-processing-and-performance>>
* <<apm-enable-apm-server-debugging>>
* <<apm-performance-diagnostic>>

For additional help with other APM components, see the links below.

Expand Down

0 comments on commit f46701a

Please sign in to comment.