Skip to content

Commit

Permalink
[DOCS] Diagnostic Pprof (#2289) (#2309)
Browse files Browse the repository at this point in the history
* [DOCS] Diagnostic Pprof

How to collect PPROF diagnostic - prerequisite

* Update docs/en/ingest-management/troubleshooting/troubleshooting.asciidoc

Co-authored-by: Tiago Queiroz <[email protected]>

* Update docs/en/ingest-management/troubleshooting/troubleshooting.asciidoc

Co-authored-by: Tiago Queiroz <[email protected]>
Co-authored-by: DeDe Morton <[email protected]>
(cherry picked from commit 3778b14)

Co-authored-by: Luca Belluccini <[email protected]>
  • Loading branch information
mergify[bot] and lucabelluccini authored Nov 2, 2022
1 parent dc7deea commit fb69b07
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,11 @@ Note that the diagnostics bundle is intended for debugging purposes only, its st
IMPORTANT: The configuration files in the archive may have credentials in *plain text*.
These will need to be manually redacted before the archive is shared.

The diagnostics command is also able to collect `pprof` data in the archive if the `--pprof` flag is passed:
The diagnostics command is also able to collect `pprof` data in the archive if the `--pprof` flag is added when collecting the diagnostic.

To collect the `pprof` data:
- Enable/add `agent.monitoring.pprof.enabled: true` to `elastic-agent.yml`
- Restart the {agent}

If `agent.monitoring.http.buffer.enabled` is set to `true`, the archive will also contain recent metrics from the {agent} and {beats} processes.

Expand Down

0 comments on commit fb69b07

Please sign in to comment.