mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 12:13:43 -05:00
Use METRICS_APP_NAME env var to initialise metrics, if present
This commit is contained in:
parent
988cb1174b
commit
89fc640ec4
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
const logger = require('logger-sharelatex')
|
const logger = require('logger-sharelatex')
|
||||||
const Metrics = require('metrics-sharelatex')
|
logger.initialize(process.env.METRICS_APP_NAME || 'filestore')
|
||||||
|
|
||||||
logger.initialize('filestore')
|
const Metrics = require('metrics-sharelatex')
|
||||||
Metrics.initialize('filestore')
|
Metrics.initialize(process.env.METRICS_APP_NAME || 'filestore')
|
||||||
|
|
||||||
const settings = require('settings-sharelatex')
|
const settings = require('settings-sharelatex')
|
||||||
const express = require('express')
|
const express = require('express')
|
||||||
|
|
Loading…
Reference in a new issue