[#16] dev-env: Enable metrics for services.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2023-04-10 09:40:41 +03:00
parent dca6ff620a
commit 11ff8a81cc
3 changed files with 12 additions and 0 deletions

View file

@ -1,6 +1,10 @@
logger: logger:
level: debug level: debug
prometheus:
enabled: true
address: :9090
rebalance_timer: 5m # Interval to check nodes health rebalance_timer: 5m # Interval to check nodes health
connect_timeout: 60s # Timeout to dial node connect_timeout: 60s # Timeout to dial node

View file

@ -1,3 +1,7 @@
prometheus:
enabled: true
address: :9090
server: server:
# The IP and port to listen on. # The IP and port to listen on.
listen-address: 0.0.0.0:8090 listen-address: 0.0.0.0:8090

View file

@ -1,6 +1,10 @@
logger: logger:
level: debug level: debug
prometheus:
enabled: true
address: :9090
# Interval to check node health # Interval to check node health
rebalance_interval: 30s rebalance_interval: 30s