Alerting: Return RuleResponse for api/prometheus/grafana/api/v1/rules (#32919)
* Return RuleResponse for api/prometheus/grafana/api/v1/rules * change TODO to note Co-authored-by: gotjosh <josue@grafana.com> * pr feedback * test fixup Co-authored-by: gotjosh <josue@grafana.com>
This commit is contained in:
@@ -25,6 +25,8 @@ const (
|
||||
InstanceStateFiring InstanceStateType = "Alerting"
|
||||
// InstanceStateNormal is for a normal alert.
|
||||
InstanceStateNormal InstanceStateType = "Normal"
|
||||
// InstanceStatePending is for an alert that is firing but has not met the duration
|
||||
InstanceStatePending InstanceStateType = "Pending"
|
||||
// InstanceStateNoData is for an alert with no data.
|
||||
InstanceStateNoData InstanceStateType = "NoData"
|
||||
// InstanceStateError is for a erroring alert.
|
||||
|
||||
Reference in New Issue
Block a user