Skip to content

Commit

Permalink
pprof corrections (#6606)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwarnermm authored Aug 23, 2023
1 parent d8ddc8c commit 1c0bfc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/scale/performance-monitoring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,11 @@ To learn how to set up runtime profiling, see the `pprof package Go documentatio

If enabled, you can run the profiler by

``go tool pprof channel http://localhost:<port>/debug/pprof/profile``
``go tool pprof http://localhost:<port>/debug/pprof/profile``

where you can replace ``localhost`` with the server name. The profiling reports are available at ``<ip>:<port>``, which include:

- ``/debug/pprof/`` for CPU profiling
- ``/debug/pprof/profile`` for CPU profiling
- ``/debug/pprof/cmdline/`` for command line profiling
- ``/debug/pprof/symbol/`` for symbol profiling
- ``/debug/pprof/goroutine/`` for GO routine profiling
Expand Down

0 comments on commit 1c0bfc0

Please sign in to comment.