[#451] frostfs-node: Add cache metrics

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2024-06-24 18:04:35 +03:00 committed by Evgenii Stratonikov
parent 81ea91de52
commit df894fbac7
4 changed files with 99 additions and 12 deletions

View file

@ -21,6 +21,7 @@ const (
writeCacheSubsystem = "writecache"
grpcServerSubsystem = "grpc_server"
policerSubsystem = "policer"
commonCacheSubsystem = "common_cache"
successLabel = "success"
shardIDLabel = "shard_id"
@ -38,6 +39,8 @@ const (
storageLabel = "storage"
operationLabel = "operation"
endpointLabel = "endpoint"
hitLabel = "hit"
cacheLabel = "cache"
readWriteMode = "READ_WRITE"
readOnlyMode = "READ_ONLY"