1
0
mirror of https://github.com/coturn/coturn.git synced 2025-10-23 20:11:17 +02:00

Fix typo and formatting in --prometheus documentation

This commit is contained in:
Lionel Nicolas 2021-10-22 19:47:16 -04:00
parent 3865842d28
commit c42cd844de
3 changed files with 5 additions and 5 deletions

View File

@ -281,8 +281,9 @@ Flags:
check: across the session, all requests must have the same check: across the session, all requests must have the same
main ORIGIN attribute value (if the ORIGIN was main ORIGIN attribute value (if the ORIGIN was
initially used by the session). 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 also the path / on this port can be used as a health check
-h Help. -h Help.

View File

@ -422,12 +422,11 @@ The flag that sets the origin consistency
check: across the session, all requests must have the same check: across the session, all requests must have the same
main ORIGIN attribute value (if the ORIGIN was main ORIGIN attribute value (if the ORIGIN was
initially used by the session). initially used by the session).
.RS
.TP .TP
.B .B
\fB\-\-prometheus\fP \fB\-\-prometheus\fP
Enable prometheus metrics. By default it is 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 also the path / on this port can be used as a health check
.RE .RE
.TP .TP

View File

@ -557,7 +557,7 @@ static char Usage[] = "Usage: turnserver [options]\n"
" The connection string has the same parameters as redis-userdb connection string.\n" " The connection string has the same parameters as redis-userdb connection string.\n"
#endif #endif
#if !defined(TURN_NO_PROMETHEUS) #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" " also the path / on this port can be used as a health check\n"
#endif #endif
" --use-auth-secret TURN REST API flag.\n" " --use-auth-secret TURN REST API flag.\n"