[#375] Add log metrics
All checks were successful
ci/woodpecker/push/pre-commit Pipeline was successful

Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
This commit is contained in:
Alejandro Lopez 2023-06-09 11:47:39 +03:00 committed by Evgenii Stratonikov
parent 83d600ed77
commit 0c40d98f7a
4 changed files with 48 additions and 0 deletions

View file

@ -542,6 +542,8 @@ func initCfg(appCfg *config.Config) *cfg {
logPrm, err := c.loggerPrm()
fatalOnErr(err)
logPrm.MetricsNamespace = "frostfs-node"
log, err := logger.NewLogger(logPrm)
fatalOnErr(err)