mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Fix typo, gague -> gauge
This commit is contained in:
parent
07e4eb4dfb
commit
e0cf10a886
1 changed files with 2 additions and 2 deletions
|
@ -112,13 +112,13 @@ module.exports = Metrics =
|
||||||
|
|
||||||
gauge : (key, value, sampleRate = 1, opts)->
|
gauge : (key, value, sampleRate = 1, opts)->
|
||||||
key = Metrics.buildPromKey(key)
|
key = Metrics.buildPromKey(key)
|
||||||
prom.metric('gague', key).set({app: appname, host: hostname, status: opts?.status}, this.sanitizeValue(value))
|
prom.metric('gauge', key).set({app: appname, host: hostname, status: opts?.status}, this.sanitizeValue(value))
|
||||||
if process.env['DEBUG_METRICS']
|
if process.env['DEBUG_METRICS']
|
||||||
console.log("doing gauge", key, opts)
|
console.log("doing gauge", key, opts)
|
||||||
|
|
||||||
globalGauge: (key, value, sampleRate = 1, opts)->
|
globalGauge: (key, value, sampleRate = 1, opts)->
|
||||||
key = Metrics.buildPromKey(key)
|
key = Metrics.buildPromKey(key)
|
||||||
prom.metric('gague', key).set({app: appname, status: opts?.status},this.sanitizeValue(value))
|
prom.metric('gauge', key).set({app: appname, status: opts?.status},this.sanitizeValue(value))
|
||||||
|
|
||||||
mongodb: require "./mongodb"
|
mongodb: require "./mongodb"
|
||||||
http: require "./http"
|
http: require "./http"
|
||||||
|
|
Loading…
Reference in a new issue