From e0cf10a88684434dcb2004d8ede293ce000293b2 Mon Sep 17 00:00:00 2001 From: Simon Detheridge Date: Mon, 28 Oct 2019 12:34:04 +0000 Subject: [PATCH] Fix typo, gague -> gauge --- libraries/metrics/metrics.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/metrics/metrics.coffee b/libraries/metrics/metrics.coffee index 03e492be8e..256eb3a854 100644 --- a/libraries/metrics/metrics.coffee +++ b/libraries/metrics/metrics.coffee @@ -112,13 +112,13 @@ module.exports = Metrics = gauge : (key, value, sampleRate = 1, opts)-> 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'] console.log("doing gauge", key, opts) globalGauge: (key, value, sampleRate = 1, opts)-> 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" http: require "./http"