diff --git a/model/metric.go b/model/metric.go index e73e2597d2..fdb2802b37 100644 --- a/model/metric.go +++ b/model/metric.go @@ -14,7 +14,6 @@ package model import ( - "fmt" "time" ) @@ -46,10 +45,6 @@ type Metric map[LabelName]LabelValue // remedied down the road. type SampleValue float32 -func (s SampleValue) String() string { - return fmt.Sprintf("%f", s) -} - type Sample struct { Metric Metric Value SampleValue