mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
README: update prometheus section
This commit is contained in:
parent
f1d0901416
commit
9d10a7b7b3
1 changed files with 9 additions and 10 deletions
19
README.md
19
README.md
|
|
@ -127,21 +127,20 @@ in emitting of an info-level log message.
|
|||
|
||||
Exporting [Prometheus](https://prometheus.io/) metrics is supported.
|
||||
|
||||
To use, activate the prometheus endpoint in the configuration file:
|
||||
|
||||
##### aquatic_http and aquatic_ws
|
||||
|
||||
```toml
|
||||
[metrics]
|
||||
run_prometheus_endpoint = true
|
||||
prometheus_endpoint_address = "0.0.0.0:9000"
|
||||
```
|
||||
Activate the prometheus endpoint in the configuration file:
|
||||
|
||||
##### aquatic_udp
|
||||
|
||||
```toml
|
||||
[statistics]
|
||||
interval = 5
|
||||
run_prometheus_endpoint = true
|
||||
prometheus_endpoint_address = "0.0.0.0:9000"
|
||||
```
|
||||
|
||||
##### aquatic_http and aquatic_ws
|
||||
|
||||
```toml
|
||||
[metrics]
|
||||
run_prometheus_endpoint = true
|
||||
prometheus_endpoint_address = "0.0.0.0:9000"
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue