Explorar o código

inc process_startup on init

Henry Oswald %!s(int64=7) %!d(string=hai) anos
pai
achega
27e6db1e51
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 1 0
      libraries/metrics/metrics.coffee
  2. 1 1
      libraries/metrics/package.json

+ 1 - 0
libraries/metrics/metrics.coffee

@@ -31,6 +31,7 @@ module.exports = Metrics =
 				version: '0.0.1'
 			}
 		})
+		Metrics.inc("process_startup")
 
 	registerDestructor: (func) ->
 		destructors.push func

+ 1 - 1
libraries/metrics/package.json

@@ -1,6 +1,6 @@
 {
   "name": "metrics-sharelatex",
-  "version": "2.0.4",
+  "version": "2.0.5",
   "description": "A drop-in metrics and monitoring module for node.js apps",
   "repository": {
     "type": "git",