mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
client -> prom
This commit is contained in:
parent
6854a64b73
commit
bd8fd1141e
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue