[#1602] config: Rename metrics
and profiler
sections
Depracate old names and remove them in the next release. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
ac46d1a11f
commit
3a0b06d5da
11 changed files with 66 additions and 28 deletions
|
@ -324,8 +324,6 @@ func initCfg(path string) *cfg {
|
|||
if metricsconfig.Enabled(c.appCfg) {
|
||||
c.metricsCollector = metrics.NewStorageMetrics()
|
||||
netState.metrics = c.metricsCollector
|
||||
} else {
|
||||
c.log.Info("prometheus metrics are disabled")
|
||||
}
|
||||
|
||||
c.onShutdown(c.clientCache.CloseAll) // clean up connections
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue