diff --git a/pkg/metrics/events.go b/pkg/metrics/events.go index 88215f26b..c1da4e48b 100644 --- a/pkg/metrics/events.go +++ b/pkg/metrics/events.go @@ -25,7 +25,7 @@ func (e InstallationStarted) Title() string { return "InstallationStarted" } -// InstallationFinished event is send back home when the installation finishes. +// InstallationSucceeded event is send back home when the installation finishes. type InstallationSucceeded struct { ClusterID uuid.UUID `json:"clusterID"` } diff --git a/pkg/metrics/sender.go b/pkg/metrics/sender.go index 18433953a..a36b16c17 100644 --- a/pkg/metrics/sender.go +++ b/pkg/metrics/sender.go @@ -43,7 +43,7 @@ func (s *Sender) Send(ctx context.Context, ev Event) { url := fmt.Sprintf("%s/helmbin_metrics/%s", s.baseURL, ev.Title()) payload, err := s.payload(ev) if err != nil { - logrus.Infof("unable to get payload for event %s: %s", ev.Title(), err) + logrus.Debugf("unable to get payload for event %s: %s", ev.Title(), err) return } request, err := http.NewRequest(http.MethodPost, url, bytes.NewBuffer(payload))