Skip to content

Commit

Permalink
fix: add missing param on successSentCounter.WithLabelValues in alert…
Browse files Browse the repository at this point in the history
… manager (#272)
  • Loading branch information
ahmadnaufal authored Oct 1, 2024
1 parent b4c6c1a commit 36c2207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/notify/alertmanager/alertManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (a *AlertManager) worker(ctx context.Context) {
eventWorkerSendErrCounter.WithLabelValues(e.Project, e.LogTag, err.Error()).Inc()
a.workerErrChan <- fmt.Errorf("alert worker: %w", err)
} else {
successSentCounter.WithLabelValues().Inc()
successSentCounter.WithLabelValues(e.Project, e.LogTag).Inc()
}
case <-ctx.Done():
close(a.workerErrChan)
Expand Down

0 comments on commit 36c2207

Please sign in to comment.