From 11ff8a81cc05285578aa04b3262dbe8c4b17905b Mon Sep 17 00:00:00 2001 From: Dmitrii Stepanov Date: Mon, 10 Apr 2023 09:40:41 +0300 Subject: [PATCH] [#16] dev-env: Enable metrics for services. Signed-off-by: Dmitrii Stepanov --- services/http_gate/cfg/config.yml | 4 ++++ services/rest_gate/cfg/config.yml | 4 ++++ services/s3_gate/cfg/config.yml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/services/http_gate/cfg/config.yml b/services/http_gate/cfg/config.yml index 7cfdd40..1684c58 100644 --- a/services/http_gate/cfg/config.yml +++ b/services/http_gate/cfg/config.yml @@ -1,5 +1,9 @@ logger: level: debug + +prometheus: + enabled: true + address: :9090 rebalance_timer: 5m # Interval to check nodes health diff --git a/services/rest_gate/cfg/config.yml b/services/rest_gate/cfg/config.yml index f733832..0acdad3 100644 --- a/services/rest_gate/cfg/config.yml +++ b/services/rest_gate/cfg/config.yml @@ -1,3 +1,7 @@ +prometheus: + enabled: true + address: :9090 + server: # The IP and port to listen on. listen-address: 0.0.0.0:8090 diff --git a/services/s3_gate/cfg/config.yml b/services/s3_gate/cfg/config.yml index 374e4be..7fa041a 100644 --- a/services/s3_gate/cfg/config.yml +++ b/services/s3_gate/cfg/config.yml @@ -1,6 +1,10 @@ logger: level: debug +prometheus: + enabled: true + address: :9090 + # Interval to check node health rebalance_interval: 30s