From 9d10a7b7b367d9594b144bc66aeabb6d0069a19a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sun, 26 Feb 2023 12:14:16 +0100 Subject: [PATCH] README: update prometheus section --- README.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) 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" ```