 }
 
 Path = require "path"
-Metrics = require "metrics-sharelatex"
-Metrics.initialize("track-changes")
+
 Metrics.memory.monitor(logger)
 
 child_process = require "child_process"

app = express()

app.use Metrics.http.monitor(logger)

app.post "/project/:project_id/doc/:doc_id/flush", HttpController.flushDoc


Metrics = require "metrics-sharelatex"
Metrics.initialize("track-changes")
Settings = require "settings-sharelatex"
logger = require "logger-sharelatex"
TrackChangesLogger = logger.initialize("track-changes").logger
