diff --git a/cmd/exporters/prometheus/prometheus.go b/cmd/exporters/prometheus/prometheus.go index 1bb397f9b..983e2582d 100644 --- a/cmd/exporters/prometheus/prometheus.go +++ b/cmd/exporters/prometheus/prometheus.go @@ -84,7 +84,7 @@ func (p *Prometheus) Init() error { } if x := p.Params.GlobalPrefix; x != nil { - p.Logger.Debug("use gloabl prefix", slog.String("prefix", *x)) + p.Logger.Debug("use global prefix", slog.String("prefix", *x)) p.globalPrefix = *x if !strings.HasSuffix(p.globalPrefix, "_") { p.globalPrefix += "_" diff --git a/cmd/tools/grafana/dashboard_test.go b/cmd/tools/grafana/dashboard_test.go index a89af8a74..d98bb5f38 100644 --- a/cmd/tools/grafana/dashboard_test.go +++ b/cmd/tools/grafana/dashboard_test.go @@ -1751,7 +1751,7 @@ func TestLinks(t *testing.T) { // Check if the dashboard exists if _, ok := uids[matches[1]]; !ok { - t.Errorf(`dashboard=%s links to not existant dashboard with link="%s"`, path, link) + t.Errorf(`dashboard=%s links to not existent dashboard with link="%s"`, path, link) } query, err := url.ParseQuery(link)