[#565] Add metrics for current GRPC endpoint status

Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
Anton Nikiforov 2023-08-09 09:23:03 +03:00 committed by Evgenii Stratonikov
parent c3e23a1448
commit 4ad0ebb32f
5 changed files with 50 additions and 0 deletions

View file

@ -19,6 +19,7 @@ const (
stateSubsystem = "state"
treeServiceSubsystem = "treeservice"
writeCacheSubsystem = "writecache"
grpcServerSubsystem = "grpc_server"
successLabel = "success"
shardIDLabel = "shard_id"
@ -35,6 +36,7 @@ const (
containerIDLabelKey = "cid"
storageLabel = "storage"
operationLabel = "operation"
endpointLabel = "endpoint"
readWriteMode = "READ_WRITE"
readOnlyMode = "READ_ONLY"