diff --git a/README.md b/README.md index 6831ec08..b13c8d32 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Supported user databases (for user repository, with passwords or keys, if authen Redis can also be used for status and statistics storage and notification. -By default a [prometheus](https://prometheus.io/) exporter endpoint is enabled on port 9121 under path /metrics +By default a [prometheus](https://prometheus.io/) exporter endpoint is enabled on port 9641 under path /metrics Supported message integrity digest algorithms: diff --git a/examples/etc/turnserver.conf b/examples/etc/turnserver.conf index 743058eb..adf49422 100644 --- a/examples/etc/turnserver.conf +++ b/examples/etc/turnserver.conf @@ -190,7 +190,7 @@ # By default the turnserver will expose an endpoint with stats on a prometheus format # this endpoint is on a different port to conflict with other configurations. # -# You can simply run the turnserver and access the port 9121 and path /metrics +# You can simply run the turnserver and access the port 9641 and path /metrics # # For mor info on the prometheus exporter and metrics # https://prometheus.io/docs/introduction/overview/ diff --git a/src/apps/relay/mainrelay.c b/src/apps/relay/mainrelay.c index 54d3f060..02ef9fe6 100644 --- a/src/apps/relay/mainrelay.c +++ b/src/apps/relay/mainrelay.c @@ -535,7 +535,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) -" --no-prometheus Disable prometheus metrics. By default it is enabled and listening on port 9121 unther the path /metrics\n" +" --no-prometheus Disable prometheus metrics. By default it is enabled and listening on port 9641 unther 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" diff --git a/src/apps/relay/prom_server.h b/src/apps/relay/prom_server.h index fcaa9759..0211038d 100644 --- a/src/apps/relay/prom_server.h +++ b/src/apps/relay/prom_server.h @@ -14,7 +14,7 @@ #include #include -#define DEFAULT_PROM_SERVER_PORT (9121) +#define DEFAULT_PROM_SERVER_PORT (9641) prom_gauge_t *turn_status;