Explorar o código

client -> prom

Henry Oswald %!s(int64=8) %!d(string=hai) anos
pai
achega
bd8fd1141e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      libraries/metrics/metrics.coffee

+ 1 - 1
libraries/metrics/metrics.coffee

@@ -69,7 +69,7 @@ module.exports = Metrics =
 			timeSpan = new Date - this.start
 			statsd.timing(buildKey(this.key), timeSpan, this.sampleRate)
 			if !summaries[this.key]?
-				summary = new client.Summary({
+				summary = new prom.Summary({
 					name: "#{name}_#{this.key}",
 					help: this.key,
 					maxAgeSeconds: 600,