[#493] cmd/node: Add metrics section to config

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-06-01 14:20:03 +03:00 committed by Alex Vanin
parent da8310f0e3
commit 3fbf5e05b2
5 changed files with 88 additions and 1 deletions

View file

@ -1,4 +1,7 @@
NEOFS_LOGGER_LEVEL=debug
NEOFS_PROFILER_ADDRESS=127.0.0.1:6060
NEOFS_PROFILER_SHUTDOWN_TIMEOUT=15s
NEOFS_PROFILER_SHUTDOWN_TIMEOUT=15s
NEOFS_METRICS_ADDRESS=127.0.0.1:9090
NEOFS_METRICS_SHUTDOWN_TIMEOUT=15s

View file

@ -5,5 +5,9 @@
"profiler": {
"address": "127.0.0.1:6060",
"shutdown_timeout": "15s"
},
"metrics": {
"address": "127.0.0.1:9090",
"shutdown_timeout": "15s"
}
}

View file

@ -3,3 +3,6 @@ logger:
profiler:
address: 127.0.0.1:6060
shutdown_timeout: 15s
metrics:
address: 127.0.0.1:9090
shutdown_timeout: 15s