aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenhttp/httpserver.cpp')
-rw-r--r--src/zenhttp/httpserver.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zenhttp/httpserver.cpp b/src/zenhttp/httpserver.cpp
index e5cfbcbae..a46c5b851 100644
--- a/src/zenhttp/httpserver.cpp
+++ b/src/zenhttp/httpserver.cpp
@@ -988,6 +988,9 @@ HttpServer::CollectStats()
}
Cbo.EndObject();
+ Cbo << "distinct_clients" << m_ClientAddresses.Count();
+ Cbo << "distinct_sessions" << m_ClientSessions.Count();
+
Cbo.BeginObject("websockets");
{
Cbo << "active_connections" << GetActiveWebSocketConnectionCount();