diff --git a/apps/grafana.go b/apps/grafana.go index dc99cf3..0a93c58 100644 --- a/apps/grafana.go +++ b/apps/grafana.go @@ -17,5 +17,5 @@ func Grafana(m Metrics) { version := strings.Split(string(out), " ")[2] - m.Grafana.With(prometheus.Labels{"version": version}).Set(1) + m.Grafana.With(prometheus.Labels{"version": strings.TrimSpace(version)}).Set(1) }