mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 14:13:38 -05:00
Initialise metrics at begining of app
This commit is contained in:
parent
533ec9128e
commit
f9b0ac0e80
1 changed files with 5 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Metrics = require "metrics-sharelatex"
|
||||||
|
Metrics.initialize("clsi")
|
||||||
|
Metrics.open_sockets.monitor(logger)
|
||||||
|
Metrics.memory.monitor(logger)
|
||||||
|
|
||||||
CompileController = require "./app/js/CompileController"
|
CompileController = require "./app/js/CompileController"
|
||||||
Settings = require "settings-sharelatex"
|
Settings = require "settings-sharelatex"
|
||||||
logger = require "logger-sharelatex"
|
logger = require "logger-sharelatex"
|
||||||
|
@ -12,11 +17,6 @@ Errors = require './app/js/Errors'
|
||||||
Path = require "path"
|
Path = require "path"
|
||||||
fs = require "fs"
|
fs = require "fs"
|
||||||
|
|
||||||
Metrics = require "metrics-sharelatex"
|
|
||||||
Metrics.initialize("clsi")
|
|
||||||
Metrics.open_sockets.monitor(logger)
|
|
||||||
Metrics.memory.monitor(logger)
|
|
||||||
|
|
||||||
ProjectPersistenceManager = require "./app/js/ProjectPersistenceManager"
|
ProjectPersistenceManager = require "./app/js/ProjectPersistenceManager"
|
||||||
OutputCacheManager = require "./app/js/OutputCacheManager"
|
OutputCacheManager = require "./app/js/OutputCacheManager"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue