forked from TrueCloudLab/frostfs-node
[#1602] neofs-ir: Fix defaults for pprof and prometheus
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
3a0b06d5da
commit
e5c0338f8c
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue