 				labelNames: ['app','host']
 			})
 		promMetrics[key].set({app: appname, host: hostname}, this.sanitizeValue(value))
-
+		if process.env['DEBUG_METRICS']
+			console.log("doing gauge", key, opts)
+			
 	globalGauge: (key, value, sampleRate = 1)->
 		key = Metrics.buildPromKey(key)
 		if !promMetrics[key]?

				labelNames: ['app','host']
			})
		promMetrics[key].inc({app: appname, host: hostname}, count)

	timing: (key, timeSpan, sampleRate, opts = {})->
		key = Metrics.sanitizeKey("timer_" + key)

			})
		opts.app = appname
		promMetrics[key].observe(opts, timeSpan)
		if process.env['DEBUG_METRICS']
			console.log("doing timing", key, opts)

	Timer : class
		constructor :(key, sampleRate = 1, opts)->
