This commit is contained in:
Henrique Chehad
2016-09-06 16:57:38 -03:00
parent 49afdf5f35
commit 11d619b38e

View File

@@ -11,7 +11,7 @@ import (
func LogMetricGauge(ctx context.Context, name string, value int) {
log := titancommon.Logger(ctx)
log.WithFields(logrus.Fields{
"metric": name, "type": "count", "value": value}).Info()
"metric": name, "type": "gauge", "value": value}).Info()
}
func LogMetricCount(ctx context.Context, name string, value int) {