docs/{vmauth,vmagent}: fix ports for profiling

This commit is contained in:
Aliaksandr Valialkin 2020-05-05 20:15:39 +03:00
parent f65930b34d
commit 08320cfcf4
4 changed files with 8 additions and 8 deletions

View file

@ -249,13 +249,13 @@ ROOT_IMAGE=alpine:3.11 make package-vmagent
* Memory profile. It can be collected with the following command:
```bash
curl -s http://<vmagent-host>:8428/debug/pprof/heap > mem.pprof
curl -s http://<vmagent-host>:8429/debug/pprof/heap > mem.pprof
```
* CPU profile. It can be collected with the following command:
```bash
curl -s http://<vmagent-host>:8428/debug/pprof/profile > cpu.pprof
curl -s http://<vmagent-host>:8429/debug/pprof/profile > cpu.pprof
```
The command for collecting CPU profile waits for 30 seconds before returning.

View file

@ -114,13 +114,13 @@ ROOT_IMAGE=alpine:3.11 make package-vmauth
* Memory profile. It can be collected with the following command:
```bash
curl -s http://<vmauth-host>:8428/debug/pprof/heap > mem.pprof
curl -s http://<vmauth-host>:8427/debug/pprof/heap > mem.pprof
```
* CPU profile. It can be collected with the following command:
```bash
curl -s http://<vmauth-host>:8428/debug/pprof/profile > cpu.pprof
curl -s http://<vmauth-host>:8427/debug/pprof/profile > cpu.pprof
```
The command for collecting CPU profile waits for 30 seconds before returning.

View file

@ -249,13 +249,13 @@ ROOT_IMAGE=alpine:3.11 make package-vmagent
* Memory profile. It can be collected with the following command:
```bash
curl -s http://<vmagent-host>:8428/debug/pprof/heap > mem.pprof
curl -s http://<vmagent-host>:8429/debug/pprof/heap > mem.pprof
```
* CPU profile. It can be collected with the following command:
```bash
curl -s http://<vmagent-host>:8428/debug/pprof/profile > cpu.pprof
curl -s http://<vmagent-host>:8429/debug/pprof/profile > cpu.pprof
```
The command for collecting CPU profile waits for 30 seconds before returning.

View file

@ -114,13 +114,13 @@ ROOT_IMAGE=alpine:3.11 make package-vmauth
* Memory profile. It can be collected with the following command:
```bash
curl -s http://<vmauth-host>:8428/debug/pprof/heap > mem.pprof
curl -s http://<vmauth-host>:8427/debug/pprof/heap > mem.pprof
```
* CPU profile. It can be collected with the following command:
```bash
curl -s http://<vmauth-host>:8428/debug/pprof/profile > cpu.pprof
curl -s http://<vmauth-host>:8427/debug/pprof/profile > cpu.pprof
```
The command for collecting CPU profile waits for 30 seconds before returning.