From 31fa5cef517d2e39337610e0143e5c2545209cbf Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Tue, 4 Dec 2018 16:09:09 +0000 Subject: [PATCH] add logging --- libraries/metrics/metrics.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/metrics/metrics.coffee b/libraries/metrics/metrics.coffee index 068069a482..a644a4a405 100644 --- a/libraries/metrics/metrics.coffee +++ b/libraries/metrics/metrics.coffee @@ -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({