readme: add notes for developers about Prometheus and Pprof

This commit is contained in:
Vsevolod Brekelov 2019-12-04 09:56:10 +03:00
parent 0085831ec5
commit 4cffc54a55

View file

@ -85,6 +85,19 @@ Available network flags:
- `--privnet, -p` - `--privnet, -p`
- `--testnet, -t` - `--testnet, -t`
#Developer notes
Nodes have such features as [Prometheus](https://prometheus.io/docs/guides/go-application) and
[Pprof](https://golang.org/pkg/net/http/pprof/) in order to have additional information about them for debugging.
How to configure Prometheus or Pprof:
In `config/protocol.*.yml` there is
```
Prometheus:
Enabled: true
Port: 2112
```
where you can switch on/off and define port. Prometheus is enabled and Pprof is disabled by default.
# Contributing # Contributing
Feel free to contribute to this project after reading the Feel free to contribute to this project after reading the