Parcourir la source

client -> prom

Henry Oswald il y a 8 ans
Parent
commit
bd8fd1141e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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
 			timeSpan = new Date - this.start
 			statsd.timing(buildKey(this.key), timeSpan, this.sampleRate)
 			statsd.timing(buildKey(this.key), timeSpan, this.sampleRate)
 			if !summaries[this.key]?
 			if !summaries[this.key]?
-				summary = new client.Summary({
+				summary = new prom.Summary({
 					name: "#{name}_#{this.key}",
 					name: "#{name}_#{this.key}",
 					help: this.key,
 					help: this.key,
 					maxAgeSeconds: 600,
 					maxAgeSeconds: 600,