diff --git a/alert/consume.go b/alert/consume.go index 4aa3b42c..c799e06d 100644 --- a/alert/consume.go +++ b/alert/consume.go @@ -57,6 +57,7 @@ func consume(events []interface{}, sema *semaphore.Semaphore) { event.RuleNote = alertRule.Note event.NotifyChannels = alertRule.NotifyChannels classpaths := cache.ResClasspath.GetValues(event.ResIdent) + sort.Strings(classpaths) event.ResClasspaths = strings.Join(classpaths, " ") enrichTag(event, alertRule)