mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Alerting: In migration improve deduplication of title and group This change improves alert titles generated in the legacy migration that occur when we need to deduplicate titles. Now when duplicate titles are detected we will first attempt to append a sequential index, falling back to a random uid if none are unique within 10 attempts. This should cause shorter and more easily readable deduplicated titles in most cases. In addition, groups are no longer deduplicated. Instead we set them to a combination of truncated dashboard name and humanized alert frequency. This way, alerts from the same dashboard share a group if they have the same evaluation interval. In the event that truncation causes overlap, it won't be a big issue as all alerts will still be in a group with the correct evaluation interval. |
||
---|---|---|
.. | ||
models | ||
store | ||
alert_rule_test.go | ||
alert_rule.go | ||
channel_test.go | ||
channel.go | ||
cond_trans_test.go | ||
cond_trans.go | ||
migration_test.go | ||
models.go | ||
permissions_test.go | ||
permissions.go | ||
securejsondata.go | ||
service_test.go | ||
service.go | ||
silences.go | ||
template_test.go | ||
template.go | ||
testing.go | ||
ualert_test.go | ||
ualert.go |