mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Init metrics at top of app.coffee
This commit is contained in:
parent
6e3fd0effb
commit
fe60edca56
1 changed files with 4 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
|||
Metrics = require "metrics-sharelatex"
|
||||
Metrics.initialize("clsi")
|
||||
|
||||
CompileController = require "./app/js/CompileController"
|
||||
Settings = require "settings-sharelatex"
|
||||
logger = require "logger-sharelatex"
|
||||
|
@ -12,8 +15,7 @@ Errors = require './app/js/Errors'
|
|||
Path = require "path"
|
||||
fs = require "fs"
|
||||
|
||||
Metrics = require "metrics-sharelatex"
|
||||
Metrics.initialize("clsi")
|
||||
|
||||
Metrics.open_sockets.monitor(logger)
|
||||
Metrics.memory.monitor(logger)
|
||||
|
||||
|
|
Loading…
Reference in a new issue