From 3390cb9825a1b6ddbc61ac3fe00ab35743d9cfb8 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Thu, 28 Sep 2023 23:58:54 +0200 Subject: move badrequest count back to old scope for compatability with Zen Dashboard --- src/zenserver/cache/httpstructuredcache.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/zenserver/cache/httpstructuredcache.cpp') 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; -- cgit v1.2.3