aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordcherednik <dcherednik@ydb.tech>2022-08-25 20:18:51 +0300
committerdcherednik <dcherednik@ydb.tech>2022-08-25 20:18:51 +0300
commit70daca6e2c46c29ce3ac0fdd05f87fe42a26894e (patch)
tree5ac88c974a014cff16d8ef592970dc26919b8a2f
parent4d5cbc124267cccba2c8856fd343b5befe32b4ff (diff)
downloadydb-70daca6e2c46c29ce3ac0fdd05f87fe42a26894e.tar.gz
Fix wrong counter block name for table service.
-rw-r--r--ydb/services/ydb/ydb_table.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/services/ydb/ydb_table.cpp b/ydb/services/ydb/ydb_table.cpp
index 2ffbe329f37..e8770c4d351 100644
--- a/ydb/services/ydb/ydb_table.cpp
+++ b/ydb/services/ydb/ydb_table.cpp
@@ -50,7 +50,7 @@ void TGRpcYdbTableService::SetupIncomingRequests(NGrpc::TLoggerPtr logger) {
new TGrpcRequestOperationCall<Ydb::Table::NAME##Request, Ydb::Table::NAME##Response> \
(ctx, &CB, TRequestAuxSettings{TRateLimiterMode::LIMIT_TYPE, nullptr})); \
}, &Ydb::Table::V1::TableService::AsyncService::Request ## NAME, \
- #NAME, logger, getCounterBlock("scheme", #NAME))->Run();
+ #NAME, logger, getCounterBlock("table", #NAME))->Run();
#define ADD_STREAM_REQUEST_LIMIT(NAME, IN, OUT, CB, LIMIT_TYPE) \
MakeIntrusive<TGRpcRequest<Ydb::Table::IN, Ydb::Table::OUT, TGRpcYdbTableService>> \
@@ -61,7 +61,7 @@ void TGRpcYdbTableService::SetupIncomingRequests(NGrpc::TLoggerPtr logger) {
new TGrpcRequestNoOperationCall<Ydb::Table::IN, Ydb::Table::OUT> \
(ctx, &CB, TRequestAuxSettings{TRateLimiterMode::LIMIT_TYPE, nullptr})); \
}, &Ydb::Table::V1::TableService::AsyncService::Request ## NAME, \
- #NAME, logger, getCounterBlock("scheme", #NAME))->Run();
+ #NAME, logger, getCounterBlock("table", #NAME))->Run();
ADD_REQUEST_LIMIT(CreateSession, DoCreateSessionRequest, Rps)
ADD_REQUEST_LIMIT(KeepAlive, DoKeepAliveRequest, Rps)