[#426] cmd/neofs-node: Add metrics collector in node

Disabled by default.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-03-15 16:11:40 +03:00 committed by Leonard Lyubich
parent 534ce03421
commit 3c0e47e6fd
4 changed files with 34 additions and 2 deletions

View file

@ -48,6 +48,7 @@ func initApp(c *cfg) {
initSessionService(c)
initObjectService(c)
initProfiler(c)
initMetrics(c)
initControlService(c)
fatalOnErr(c.cfgObject.cfgLocalStorage.localStorage.Open())
@ -61,6 +62,7 @@ func bootUp(c *cfg) {
serveGRPC(c)
bootstrapNode(c)
startWorkers(c)
serveMetrics(c)
}
func wait(c *cfg) {