 Object.defineProperty global, 'KONFIG', { value: KONFIG }
 { mq, email, social, mongoReplSet, socialapi } = KONFIG
 
+redisClient = require('redis').createClient(
+  KONFIG.monitoringRedis.split(':')[1]
+  KONFIG.monitoringRedis.split(':')[0]
+  {}
+)
+
 mongo = "mongodb://#{KONFIG.mongo}"  if 'string' is typeof KONFIG.mongo
 
 mqOptions = extend {}, mq

  mq          : broker
  mqConfig    : mqConfig
  metrics     : datadog


  kite          :

app = express()

do ->
  usertracker.start redisClient

  # start monitoring nodejs metrics (memory, gc, cpu etc...)
  nodejsProfiler = new NodejsProfiler 'socialWorker'
