From e5c0338f8c5678ec7e7ef3d7ea4d4de62523628a Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Wed, 13 Jul 2022 17:07:31 +0300 Subject: [PATCH] [#1602] neofs-ir: Fix defaults for pprof and prometheus Signed-off-by: Evgenii Stratonikov --- cmd/neofs-ir/defaults.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/neofs-ir/defaults.go b/cmd/neofs-ir/defaults.go index 5c96513f..a9ed663f 100644 --- a/cmd/neofs-ir/defaults.go +++ b/cmd/neofs-ir/defaults.go @@ -37,10 +37,10 @@ func newConfig(path string) (*viper.Viper, error) { func defaultConfiguration(cfg *viper.Viper) { cfg.SetDefault("logger.level", "info") - cfg.SetDefault("profiler.address", "localhost:9090") + cfg.SetDefault("profiler.address", "localhost:6060") cfg.SetDefault("profiler.shutdown_timeout", "30s") - cfg.SetDefault("metrics.address", "localhost:6060") + cfg.SetDefault("metrics.address", "localhost:9090") cfg.SetDefault("metrics.shutdown_timeout", "30s") cfg.SetDefault("without_mainnet", false)