diff --git a/libraries/metrics/metrics.coffee b/libraries/metrics/metrics.coffee index ed8dff5d93..e1f46a46b2 100644 --- a/libraries/metrics/metrics.coffee +++ b/libraries/metrics/metrics.coffee @@ -62,8 +62,8 @@ module.exports = Metrics = injectMetricsRoute: (app) -> app.get('/metrics', (req, res) -> - res.set('Content-Type', register.contentType) - res.end(register.metrics()) + res.set('Content-Type', Register.contentType) + res.end(Register.metrics()) ) buildPromKey: (key = "")->