From f7a257b596ba1848fc50385696cc1a4037d369fc Mon Sep 17 00:00:00 2001 From: Ricardo Maraschini Date: Tue, 31 Oct 2023 10:16:39 +0100 Subject: [PATCH] chore: change metrics endpoint path the old endpoint isn't going to work anymore. --- pkg/metrics/sender.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/metrics/sender.go b/pkg/metrics/sender.go index 1c41d6f1c..1420b2671 100644 --- a/pkg/metrics/sender.go +++ b/pkg/metrics/sender.go @@ -41,7 +41,7 @@ type Sender struct { // Send sends an event to the metrics endpoint. func (s *Sender) Send(ctx context.Context, ev Event) { - url := fmt.Sprintf("%s/helmbin_metrics/%s", s.baseURL, ev.Title()) + url := fmt.Sprintf("%s/embedded_cluster_metrics/%s", s.baseURL, ev.Title()) payload, err := s.payload(ev) if err != nil { logrus.Debugf("unable to get payload for event %s: %s", ev.Title(), err)