           else
             @handleUserError 'Unknown method type!'
 
-        dataDog.socialWorker.sendMetrics { method }
+        @metrics.send { method }  if @metrics
 
       else
         kallback = @localStore.get method

    process.exit 1

  constructor:(options)->
    {@mq, @mongo, @resourceName, @root, @fetchClient, @verbose, models, @kite, @mqConfig} = options
    @setClient @mongo  if @mongo
    @localStore = new Store
    @remoteStore = new Store

      @remoteStore.get storeKey
    @invokeMethod method, unscrubbed, userArea, sessionToken, secretName, client

  pong : (callback) -> callback? Date.now()

  invokeMethod : do->
    ###
    @helper apply()
    @private
