reduce the stats we're collecting... if we only need player count we can probably nuke everything but that, right @stellab @swgnoobs ?

This commit is contained in:
DarthArgus
2016-09-26 06:24:20 +00:00
parent e0e39df051
commit 268727ce16
@@ -2873,13 +2873,7 @@ void CentralServer::sendMetricsToWebAPI()
api.addJsonData<int>("totalPlayerCount", m_totalPlayerCount);
api.addJsonData<int>("totalGameServers", (m_gameServers.size() - 1));
api.addJsonData<int>("totalPlanetServers", m_planetServers.size());
api.addJsonData<bool>("isPublic", getIsClusterPublic());
api.addJsonData<bool>("isLocked", getIsClusterLocked());
api.addJsonData<bool>("isSecret", getIsClusterSecret());
api.addJsonData<bool>("preloadFinished", getClusterStartupTime());
api.addJsonData<bool>("databasebacklogged", isDatabaseBacklogged());
api.addJsonData<int>("totalTutorialSceneCount", getClusterStartupTime());
api.addJsonData<int>("totalFalconSceneCount", isDatabaseBacklogged());
api.addJsonData<int>("totalTutorialSceneCount", m_totalTutorialSceneCount);
#ifdef _DEBUG
if (api.submit()) {