diff --git a/README.md b/README.md index 507d0a7..427a94c 100644 --- a/README.md +++ b/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" ```