diff options
| author | Dan Engelbrecht <[email protected]> | 2023-09-29 16:13:40 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-09-29 16:13:40 +0200 |
| commit | 499de215a72052aa117289060d5cba78beb8cce7 (patch) | |
| tree | c38ee32129d7cbb9f95a1e6d1a66729aacd70ddd /src/zenserver/cache/httpstructuredcache.cpp | |
| parent | 0.2.25 (diff) | |
| download | zen-499de215a72052aa117289060d5cba78beb8cce7.tar.xz zen-499de215a72052aa117289060d5cba78beb8cce7.zip | |
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
Diffstat (limited to 'src/zenserver/cache/httpstructuredcache.cpp')
| -rw-r--r-- | src/zenserver/cache/httpstructuredcache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |