Explorar el Código

inc process_startup on init

Henry Oswald hace 7 años
padre
commit
27e6db1e51
Se han modificado 2 ficheros con 2 adiciones y 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'
 				version: '0.0.1'
 			}
 			}
 		})
 		})
+		Metrics.inc("process_startup")
 
 
 	registerDestructor: (func) ->
 	registerDestructor: (func) ->
 		destructors.push func
 		destructors.push func

+ 1 - 1
libraries/metrics/package.json

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