forked from TrueCloudLab/frostfs-node
[#493] cmd/node: Add metrics section to config
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
da8310f0e3
commit
3fbf5e05b2
5 changed files with 88 additions and 1 deletions
|
@ -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
|
|
@ -5,5 +5,9 @@
|
|||
"profiler": {
|
||||
"address": "127.0.0.1:6060",
|
||||
"shutdown_timeout": "15s"
|
||||
},
|
||||
"metrics": {
|
||||
"address": "127.0.0.1:9090",
|
||||
"shutdown_timeout": "15s"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue