mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: button to test contact point (#37475)
This commit is contained in:
@@ -63,12 +63,11 @@ func (am *Alertmanager) TestReceivers(ctx context.Context, c apimodels.TestRecei
|
||||
testAlert := &types.Alert{
|
||||
Alert: model.Alert{
|
||||
Labels: model.LabelSet{
|
||||
model.LabelName("alertname"): "TestAlertAlwaysFiring",
|
||||
model.LabelName("alertname"): "TestAlert",
|
||||
model.LabelName("instance"): "Grafana",
|
||||
},
|
||||
Annotations: model.LabelSet{
|
||||
model.LabelName("summary"): "TestAlertAlwaysFiring",
|
||||
model.LabelName("description"): "This is a test alert from Grafana",
|
||||
model.LabelName("summary"): "Notification test",
|
||||
},
|
||||
StartsAt: now,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user