mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Fix broken key building in timer
This commit is contained in:
parent
873297b02e
commit
45ec60d8a6
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ module.exports =
|
||||||
this.sampleRate = sampleRate
|
this.sampleRate = sampleRate
|
||||||
done:->
|
done:->
|
||||||
timeSpan = new Date - this.start
|
timeSpan = new Date - this.start
|
||||||
statsd.timing(this.key, timeSpan, this.sampleRate)
|
statsd.timing(buildKey(this.key), timeSpan, this.sampleRate)
|
||||||
|
|
||||||
gauge : (key, value, sampleRate = 1)->
|
gauge : (key, value, sampleRate = 1)->
|
||||||
statsd.gauge key, value, sampleRate
|
statsd.gauge key, value, sampleRate
|
||||||
|
|
Loading…
Reference in a new issue