forked from TrueCloudLab/frostfs-node
[#164] metrics: Fill local registry explicitly
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
59822f7fb4
commit
015d62425b
7 changed files with 72 additions and 32 deletions
|
@ -27,8 +27,8 @@ func NewInnerRingMetrics() InnerRingServiceMetrics {
|
|||
})
|
||||
)
|
||||
|
||||
prometheus.MustRegister(epoch)
|
||||
prometheus.MustRegister(health)
|
||||
mustRegister(epoch)
|
||||
mustRegister(health)
|
||||
|
||||
return InnerRingServiceMetrics{
|
||||
epoch: epoch,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue