Skip to content

Commit f990e70

Browse files
committed
Calm down some logging
1 parent 713410a commit f990e70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/monitortestlibrary/historicaldata/alert_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ func NewAlertMatcherWithHistoricalData(data map[AlertDataKey]AlertStatisticalDat
8080

8181
func (b *AlertBestMatcher) bestMatch(key AlertDataKey) (AlertStatisticalData, string, error) {
8282
exactMatchKey := key
83-
logrus.WithField("alertName", key.AlertName).Infof("searching for bestMatch for %+v", key.JobType)
84-
logrus.Infof("historicalData has %d entries", len(b.HistoricalData))
83+
logrus.WithField("alertName", key.AlertName).WithField("entries", len(b.HistoricalData)).
84+
Debugf("searching for best match for %+v", key.JobType)
8585

8686
if percentiles, ok := b.HistoricalData[exactMatchKey]; ok {
8787
if percentiles.JobRuns > minJobRuns {

0 commit comments

Comments
 (0)