[#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

@ -61,6 +61,7 @@ func main() {
cfg, err = newConfig()
exitErr(err)
logPrm.MetricsNamespace = "frostfs-ir"
err = logPrm.SetLevelString(
cfg.GetString("logger.level"),
)