Przeglądaj źródła

bugfix - avoid double counting compiles

Brian Gough 10 lat temu
rodzic
commit
285546fbcf
1 zmienionych plików z 1 dodań i 1 usunięć
  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?()