mirror of
https://github.com/grafana/grafana.git
synced 2025-01-08 15:13:30 -06:00
Alerting: Lower severity of logs about duplicates to debug (#89971)
lower severity of logs about duplicates to debug
This commit is contained in:
parent
4ec4994e89
commit
411bab6d44
@ -183,7 +183,7 @@ func calculateState(ctx context.Context, log log.Logger, alertRule *ngModels.Ale
|
||||
}
|
||||
}
|
||||
if len(dupes) > 0 {
|
||||
log.Warn("Rule declares one or many reserved labels. Those rules labels will be ignored", "labels", dupes)
|
||||
log.Debug("Rule declares one or many reserved labels. Those rules labels will be ignored", "labels", dupes)
|
||||
}
|
||||
dupes = make(data.Labels)
|
||||
for key, val := range resultLabels {
|
||||
@ -196,7 +196,7 @@ func calculateState(ctx context.Context, log log.Logger, alertRule *ngModels.Ale
|
||||
}
|
||||
}
|
||||
if len(dupes) > 0 {
|
||||
log.Warn("Evaluation result contains either reserved labels or labels declared in the rules. Those labels from the result will be ignored", "labels", dupes)
|
||||
log.Debug("Evaluation result contains either reserved labels or labels declared in the rules. Those labels from the result will be ignored", "labels", dupes)
|
||||
}
|
||||
|
||||
cacheID := lbs.Fingerprint()
|
||||
|
Loading…
Reference in New Issue
Block a user