[#373] metrics: Move labels to consts

To unify label naming all lable keys and other consts are moved to
one file.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2023-06-16 10:13:22 +03:00
parent b5d9f4a285
commit 03aa210145
13 changed files with 119 additions and 160 deletions

View file

@ -5,8 +5,6 @@ import (
"github.com/prometheus/client_golang/prometheus"
)
const namespace = "frostfs_node"
type NodeMetrics struct {
engine *engineMetrics
state *stateMetrics