forked from TrueCloudLab/frostfs-node
[#373] metrics: Add FSTree metrics
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
d8ecc69d00
commit
16a142cd0c
8 changed files with 236 additions and 6 deletions
15
pkg/metrics/consts.go
Normal file
15
pkg/metrics/consts.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
package metrics
|
||||
|
||||
const (
|
||||
fstreeSubSystem = "fstree"
|
||||
|
||||
successLabel = "success"
|
||||
shardIDLabel = "shardID"
|
||||
modeLabel = "mode"
|
||||
pathLabel = "path"
|
||||
methodLabel = "method"
|
||||
|
||||
readWriteMode = "READ_WRITE"
|
||||
readOnlyMode = "READ_ONLY"
|
||||
closedMode = "CLOSED"
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue