Alerting: Store instance annotations in alert rule state (#114975)

Alerting: Store annotations in alert instance state
This commit is contained in:
Alexander Akhmetov
2025-12-09 13:52:42 +01:00
committed by GitHub
parent 6746c978b4
commit c59d5d1c8e
17 changed files with 258 additions and 109 deletions
+1
View File
@@ -9,6 +9,7 @@ import (
type AlertInstance struct {
AlertInstanceKey `xorm:"extends"`
Labels InstanceLabels
Annotations InstanceAnnotations
CurrentState InstanceStateType
CurrentReason string
CurrentStateSince time.Time