mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
stackdriver: fix froamt annotation text for value
This commit is contained in:
parent
ca50e315fa
commit
2aae7e0c87
@ -2,7 +2,6 @@ package stackdriver
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
@ -99,7 +98,7 @@ func formatAnnotationText(annotationText string, pointValue string, metricType s
|
||||
}
|
||||
|
||||
if metaPartName == "value" {
|
||||
return []byte(fmt.Sprintf("%f", pointValue))
|
||||
return []byte(pointValue)
|
||||
}
|
||||
|
||||
metaPartName = strings.Replace(metaPartName, "metric.label.", "", 1)
|
||||
|
Loading…
Reference in New Issue
Block a user