From c42cd844decdacba94b1b412f444be17db642fab Mon Sep 17 00:00:00 2001 From: Lionel Nicolas Date: Fri, 22 Oct 2021 19:47:16 -0400 Subject: [PATCH] Fix typo and formatting in --prometheus documentation --- README.turnserver | 5 +++-- man/man1/turnserver.1 | 3 +-- src/apps/relay/mainrelay.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.turnserver b/README.turnserver index e8b42487..75a7f9d3 100644 --- a/README.turnserver +++ b/README.turnserver @@ -281,8 +281,9 @@ Flags: check: across the session, all requests must have the same main ORIGIN attribute value (if the ORIGIN was initially used by the session). - --prometheus Enable prometheus metrics. By default it is - disabled. Would listen on port 9641 unther the path /metrics + +--prometheus Enable prometheus metrics. By default it is + disabled. Would listen on port 9641 under the path /metrics also the path / on this port can be used as a health check -h Help. diff --git a/man/man1/turnserver.1 b/man/man1/turnserver.1 index 34375de2..f300d524 100644 --- a/man/man1/turnserver.1 +++ b/man/man1/turnserver.1 @@ -422,12 +422,11 @@ The flag that sets the origin consistency check: across the session, all requests must have the same main ORIGIN attribute value (if the ORIGIN was initially used by the session). -.RS .TP .B \fB\-\-prometheus\fP Enable prometheus metrics. By default it is -disabled. Would listen on port 9641 unther the path /metrics +disabled. Would listen on port 9641 under the path /metrics also the path / on this port can be used as a health check .RE .TP diff --git a/src/apps/relay/mainrelay.c b/src/apps/relay/mainrelay.c index b7c78c07..ec820abf 100644 --- a/src/apps/relay/mainrelay.c +++ b/src/apps/relay/mainrelay.c @@ -557,7 +557,7 @@ static char Usage[] = "Usage: turnserver [options]\n" " The connection string has the same parameters as redis-userdb connection string.\n" #endif #if !defined(TURN_NO_PROMETHEUS) -" --prometheus Enable prometheus metrics. It is disabled by default. If it is enabled it will listen on port 9641 unther the path /metrics\n" +" --prometheus Enable prometheus metrics. It is disabled by default. If it is enabled it will listen on port 9641 under the path /metrics\n" " also the path / on this port can be used as a health check\n" #endif " --use-auth-secret TURN REST API flag.\n"