From 052d4aa0a8b4dd88b381d6fed8e94f0a3b9a7fc4 Mon Sep 17 00:00:00 2001 From: Allemand <37148072+salleman33@users.noreply.github.com> Date: Thu, 19 Aug 2021 15:02:15 +0200 Subject: [PATCH] Update app.js change metrics app name --- services/real-time/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/real-time/app.js b/services/real-time/app.js index 31216bb07e..ef912ed074 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(Settings.appName || 'real-time') +Metrics.initialize(process.env.METRICS_APP_NAME || 'real-time') const async = require('async') const logger = require('logger-sharelatex')