diff --git a/services/filestore/app.js b/services/filestore/app.js index c242c8267b..83113f6b42 100644 --- a/services/filestore/app.js +++ b/services/filestore/app.js @@ -1,8 +1,8 @@ -const logger = require('logger-sharelatex') const Metrics = require('metrics-sharelatex') +Metrics.initialize(process.env.METRICS_APP_NAME || 'filestore') -logger.initialize('filestore') -Metrics.initialize('filestore') +const logger = require('logger-sharelatex') +logger.initialize(process.env.METRICS_APP_NAME || 'filestore') const settings = require('settings-sharelatex') const express = require('express')