fix formating in grafana request to String()
This commit is contained in:
parent
5d57274202
commit
4de3c091fe
|
@ -35,7 +35,7 @@ type requestBody struct {
|
|||
func (r requestBody) String() string {
|
||||
msg := fmt.Sprintf("%s: %s", r.Title, r.Message)
|
||||
for _, e := range r.EvalMatches {
|
||||
msg = fmt.Sprintf("%s %s=%d", msg, e.Metric, e.Value)
|
||||
msg = fmt.Sprintf("%s %s=%f", msg, e.Metric, e.Value)
|
||||
}
|
||||
return msg
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue