diff options
| author | Dan Engelbrecht <[email protected]> | 2023-09-28 23:58:54 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2023-09-28 23:58:54 +0200 |
| commit | 3390cb9825a1b6ddbc61ac3fe00ab35743d9cfb8 (patch) | |
| tree | 7e579b2bdda73f15fd133f99c55bb676908ea50a /src/zenserver/cache/httpstructuredcache.cpp | |
| parent | adding more stats (#429) (diff) | |
| download | zen-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.cpp | 3 |
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; |