@@ -1,6 +1,6 @@
{
"name": "metrics-sharelatex",
- "version": "2.1.0",
+ "version": "2.1.1",
"description": "A drop-in metrics and monitoring module for node.js apps",
"repository": {
"type": "git",
@@ -56,6 +56,11 @@ module.exports = Metrics =
timeAsyncMethod: require('./timeAsyncMethod')
+ injectMetricsRoute: (app) ->
+ app.get('/metrics', (req, res) ->
+ res.send("not implemented in statsd")
+ )
+
close: () ->
for func in destructors
func()