mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 00:13:30 +01:00
docs/{vmauth,vmagent}: fix ports for profiling
This commit is contained in:
parent
309700ab8c
commit
21b91599c2
@ -249,13 +249,13 @@ ROOT_IMAGE=alpine:3.11 make package-vmagent
|
|||||||
* Memory profile. It can be collected with the following command:
|
* Memory profile. It can be collected with the following command:
|
||||||
|
|
||||||
```bash
|
```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:
|
* CPU profile. It can be collected with the following command:
|
||||||
|
|
||||||
```bash
|
```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.
|
The command for collecting CPU profile waits for 30 seconds before returning.
|
||||||
|
@ -114,13 +114,13 @@ ROOT_IMAGE=alpine:3.11 make package-vmauth
|
|||||||
* Memory profile. It can be collected with the following command:
|
* Memory profile. It can be collected with the following command:
|
||||||
|
|
||||||
```bash
|
```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:
|
* CPU profile. It can be collected with the following command:
|
||||||
|
|
||||||
```bash
|
```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.
|
The command for collecting CPU profile waits for 30 seconds before returning.
|
||||||
|
@ -249,13 +249,13 @@ ROOT_IMAGE=alpine:3.11 make package-vmagent
|
|||||||
* Memory profile. It can be collected with the following command:
|
* Memory profile. It can be collected with the following command:
|
||||||
|
|
||||||
```bash
|
```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:
|
* CPU profile. It can be collected with the following command:
|
||||||
|
|
||||||
```bash
|
```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.
|
The command for collecting CPU profile waits for 30 seconds before returning.
|
||||||
|
@ -114,13 +114,13 @@ ROOT_IMAGE=alpine:3.11 make package-vmauth
|
|||||||
* Memory profile. It can be collected with the following command:
|
* Memory profile. It can be collected with the following command:
|
||||||
|
|
||||||
```bash
|
```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:
|
* CPU profile. It can be collected with the following command:
|
||||||
|
|
||||||
```bash
|
```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.
|
The command for collecting CPU profile waits for 30 seconds before returning.
|
||||||
|
Loading…
Reference in New Issue
Block a user