mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Fill the empty GeneratorURL (#35740)
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
This commit is contained in:
@@ -84,7 +84,7 @@ func (c *cache) getOrCreate(alertRule *ngModels.AlertRule, result eval.Result) *
|
||||
}
|
||||
|
||||
func attachRuleLabels(m map[string]string, alertRule *ngModels.AlertRule) {
|
||||
m[ngModels.UIDLabel] = alertRule.UID
|
||||
m[ngModels.RuleUIDLabel] = alertRule.UID
|
||||
m[ngModels.NamespaceUIDLabel] = alertRule.NamespaceUID
|
||||
m[prometheusModel.AlertNameLabel] = alertRule.Title
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user