aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/cache/httpstructuredcache.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-09-28 23:58:54 +0200
committerDan Engelbrecht <[email protected]>2023-09-28 23:58:54 +0200
commit3390cb9825a1b6ddbc61ac3fe00ab35743d9cfb8 (patch)
tree7e579b2bdda73f15fd133f99c55bb676908ea50a /src/zenserver/cache/httpstructuredcache.cpp
parentadding more stats (#429) (diff)
downloadzen-3390cb9825a1b6ddbc61ac3fe00ab35743d9cfb8.tar.xz
zen-3390cb9825a1b6ddbc61ac3fe00ab35743d9cfb8.zip
move badrequest count back to old scope for compatability with Zen Dashboard
Diffstat (limited to 'src/zenserver/cache/httpstructuredcache.cpp')
-rw-r--r--src/zenserver/cache/httpstructuredcache.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/zenserver/cache/httpstructuredcache.cpp b/src/zenserver/cache/httpstructuredcache.cpp
index 59ee5e485..d82f4a16a 100644
--- a/src/zenserver/cache/httpstructuredcache.cpp
+++ b/src/zenserver/cache/httpstructuredcache.cpp
@@ -3255,10 +3255,9 @@ HttpStructuredCacheService::HandleStatsRequest(HttpServerRequest& Request)
CacheStoreStats = m_CacheStore.Stats();
}
- Cbo << "badrequestcount" << BadRequestCount;
-
Cbo.BeginObject("cache");
{
+ Cbo << "badrequestcount" << BadRequestCount;
Cbo.BeginObject("rpc");
Cbo << "count" << RpcRequests;
Cbo << "ops" << RpcRecordRequests + RpcValueRequests + RpcChunkRequests;