From 499de215a72052aa117289060d5cba78beb8cce7 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Fri, 29 Sep 2023 16:13:40 +0200 Subject: Correctly calculate the total number of RPC ops in the stats page for structured cache (#433) Change "chunks" title to "count" for RPC chunk requests in stats page for structured cache --- src/zenserver/cache/httpstructuredcache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/zenserver/cache/httpstructuredcache.cpp') diff --git a/src/zenserver/cache/httpstructuredcache.cpp b/src/zenserver/cache/httpstructuredcache.cpp index d82f4a16a..f3d5506eb 100644 --- a/src/zenserver/cache/httpstructuredcache.cpp +++ b/src/zenserver/cache/httpstructuredcache.cpp @@ -3260,7 +3260,7 @@ HttpStructuredCacheService::HandleStatsRequest(HttpServerRequest& Request) Cbo << "badrequestcount" << BadRequestCount; Cbo.BeginObject("rpc"); Cbo << "count" << RpcRequests; - Cbo << "ops" << RpcRecordRequests + RpcValueRequests + RpcChunkRequests; + Cbo << "ops" << RpcRecordBatchRequests + RpcValueBatchRequests + RpcChunkBatchRequests; Cbo.BeginObject("records"); Cbo << "count" << RpcRecordRequests; Cbo << "ops" << RpcRecordBatchRequests; @@ -3270,7 +3270,7 @@ HttpStructuredCacheService::HandleStatsRequest(HttpServerRequest& Request) Cbo << "ops" << RpcValueBatchRequests; Cbo.EndObject(); Cbo.BeginObject("chunks"); - Cbo << "chunk" << RpcChunkRequests; + Cbo << "count" << RpcChunkRequests; Cbo << "ops" << RpcChunkBatchRequests; Cbo.EndObject(); Cbo.EndObject(); -- cgit v1.2.3