Skip to content

Commit

Permalink
chore: change metrics endpoint path
Browse files Browse the repository at this point in the history
the old endpoint isn't going to work anymore.
  • Loading branch information
ricardomaraschini committed Oct 31, 2023
1 parent 1a0911b commit f7a257b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/metrics/sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f7a257b

Please sign in to comment.