.BANCHO. Add bancho components RAM usage as datadog stats

This commit is contained in:
Nyo
2016-11-13 12:25:38 +01:00
parent c7c5528588
commit cd75d1ad8d
3 changed files with 15 additions and 3 deletions

View File

@@ -1,7 +1,6 @@
"""Global objects and variables"""
import time
from common.ddog import datadogClient
from common.files import fileBuffer, fileLocks
from objects import channelList
@@ -26,7 +25,6 @@ banchoConf = None
tokens = tokenList.tokenList()
channels = channelList.channelList()
matches = matchList.matchList()
restarting = False
fLocks = fileLocks.fileLocks()
fileBuffers = fileBuffer.buffersList()
schiavo = schiavo.schiavo()
@@ -45,8 +43,8 @@ gzip = False
localize = False
sentry = False
irc = False
restarting = False
startTime = int(time.time())
streams = streamList.streamList()