diff --git a/services/real-time/app.js b/services/real-time/app.js index 8ce56b2a39..902b5debcb 100644 --- a/services/real-time/app.js +++ b/services/real-time/app.js @@ -1,6 +1,6 @@ const Metrics = require('@overleaf/metrics') const Settings = require('@overleaf/settings') -Metrics.initialize(process.env.METRICS_APP_NAME || 'real-time') +Metrics.initialize(Settings.appName || 'real-time') const async = require('async') const logger = require('logger-sharelatex')