Explorar el Código

bugfix - avoid double counting compiles

Brian Gough hace 10 años
padre
commit
285546fbcf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      services/clsi/app/coffee/CompileManager.coffee

+ 1 - 1
services/clsi/app/coffee/CompileManager.coffee

@@ -41,7 +41,7 @@ module.exports = CompileManager =
 					image:     request.imageName
 				}, (error, output, stats) ->
 					return callback(error) if error?
-					Metrics.inc("compiles")
+					Metrics.inc("compiles-succeeded")
 					for metric_key, metric_value of stats or {}
 						Metrics.count(metric_key, metric_value)
 					loadavg = os.loadavg?()