Use configurable app name if present

This commit is contained in:
James Allen 2015-12-07 11:49:55 +00:00
parent 73cd1a3e92
commit b28e5ac6b2

View file

@ -11,7 +11,7 @@ logger = require "logger-sharelatex"
logger.initialize("real-time-sharelatex")
Metrics = require("metrics-sharelatex")
Metrics.initialize("real-time")
Metrics.initialize(Settings.appName or "real-time")
Metrics.event_loop.monitor(logger)
rclient = redis.createClient(Settings.redis.web)