Change prometheus exporter port to 9641
This commit is contained in:
parent
c65ce15fde
commit
388d939ed9
@ -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 disabled, if it is enabeled it will listen on port 9121 under path /metrics
|
||||
By default a [prometheus](https://prometheus.io/) exporter endpoint is disabled, if it is enabeled it will listen on port 9641 under path /metrics
|
||||
|
||||
Supported message integrity digest algorithms:
|
||||
|
||||
|
||||
@ -266,7 +266,7 @@ Flags:
|
||||
main ORIGIN attribute value (if the ORIGIN was
|
||||
initially used by the session).
|
||||
--no-prometheus Disable prometheus metrics. By default it is
|
||||
enabled and listening on port 9121 unther the path /metrics
|
||||
enabled and listening on port 9641 unther the path /metrics
|
||||
also the path / on this port can be used as a health check
|
||||
|
||||
-h Help.
|
||||
|
||||
@ -190,7 +190,7 @@
|
||||
# If enabled the turnserver will expose an endpoint with stats on a prometheus format
|
||||
# this endpoint is listening on a different port to not 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/
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
.\" Text automatically generated by txt2man
|
||||
.TH TURN 1 "28 July 2020" "" ""
|
||||
.TH TURN 1 "03 August 2020" "" ""
|
||||
.SH GENERAL INFORMATION
|
||||
|
||||
\fIturnadmin\fP is a TURN administration tool. This tool can be used to manage
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
.\" Text automatically generated by txt2man
|
||||
.TH TURN 1 "28 July 2020" "" ""
|
||||
.TH TURN 1 "03 August 2020" "" ""
|
||||
.SH GENERAL INFORMATION
|
||||
|
||||
The \fBTURN Server\fP project contains the source code of a TURN server and TURN client
|
||||
@ -402,7 +402,7 @@ initially used by the session).
|
||||
.B
|
||||
\fB\-\-no\-prometheus\fP
|
||||
Disable prometheus metrics. By default it is
|
||||
enabled and listening on port 9121 unther the path /metrics
|
||||
enabled and listening on port 9641 unther the path /metrics
|
||||
also the path / on this port can be used as a health check
|
||||
.RE
|
||||
.TP
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
.\" Text automatically generated by txt2man
|
||||
.TH TURN 1 "28 July 2020" "" ""
|
||||
.TH TURN 1 "03 August 2020" "" ""
|
||||
.SH GENERAL INFORMATION
|
||||
|
||||
A set of turnutils_* programs provides some utility functionality to be used
|
||||
|
||||
@ -537,7 +537,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 9121 unther the path /metrics\n"
|
||||
" --prometheus Enable prometheus metrics. It is disabled by default. If it is enabled it will listen 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"
|
||||
|
||||
@ -299,7 +299,7 @@ static stun_buffer_list_elem *new_blist_elem(ioa_engine_handle e)
|
||||
ret = (stun_buffer_list_elem *)malloc(sizeof(stun_buffer_list_elem));
|
||||
if (ret) {
|
||||
ret->next = NULL;
|
||||
} else {
|
||||
} else {
|
||||
TURN_LOG_FUNC(TURN_LOG_LEVEL_ERROR, "%s: Cannot allocate memory for STUN buffer!\n", __FUNCTION__);
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#include <prom.h>
|
||||
#include <promhttp.h>
|
||||
|
||||
#define DEFAULT_PROM_SERVER_PORT (9121)
|
||||
#define DEFAULT_PROM_SERVER_PORT (9641)
|
||||
|
||||
prom_gauge_t *turn_status;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user