mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-23 19:21:04 +00:00
add logging
This commit is contained in:
parent
27e6db1e51
commit
31fa5cef51
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ module.exports = Metrics =
|
|||
set : (key, value, sampleRate = 1)->
|
||||
|
||||
inc : (key, sampleRate = 1, opts = {})->
|
||||
console.log("doing inc", key)
|
||||
key = Metrics.buildPromKey(key)
|
||||
if !promMetrics[key]?
|
||||
promMetrics[key] = new prom.Counter({
|
||||
|
|
Loading…
Reference in a new issue