Contributed by LiXin Ge. (cherry picked from commit 3c9d97b8f7d6eb75f08fc6d37cee37c22760bb86)
@@ -77,4 +77,11 @@ public class MutableGaugeFloat extends MutableGauge {
}
+
+ /**
+ * @return the value of the metric
+ */
+ public String toString() {
+ return value.toString();
+ }
@@ -87,4 +87,11 @@ public class MutableGaugeInt extends MutableGauge {
clearChanged();
@@ -88,4 +88,10 @@ public class MutableGaugeLong extends MutableGauge {