configs: use proper default IP address for metrics server (#1603)

* configs: use proper default IP address for metrics server

Let's use the IP address assigned to each process by default when
configuring the HTTP Prometheus server. Otherwise having several
processes listening on 0.0.0.0 cause collisions.

* configs: mme.yaml: Fix trailing whitespace
This commit is contained in:
Pau Espin 2022-06-13 16:13:58 +02:00 committed by GitHub
parent 58a9d31fd8
commit 4d9112870c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -370,5 +370,5 @@ time:
# port: 9090
#
metrics:
addr: 0.0.0.0
addr: 127.0.0.5
port: 9090

View File

@ -248,7 +248,7 @@ mme:
- addr: 127.0.0.2
gtpc:
- addr: 127.0.0.2
gummei:
gummei:
plmn_id:
mcc: 901
mnc: 70
@ -433,5 +433,5 @@ time:
# port: 9090
#
metrics:
addr: 0.0.0.0
port: 9090
addr: 127.0.0.2
port: 9090

View File

@ -575,5 +575,5 @@ time:
# port: 9090
#
metrics:
addr: 0.0.0.0
addr: 127.0.0.4
port: 9090