mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 04:32:30 +08:00
feat(alerting): progress on testing alerts
This commit is contained in:
@ -246,7 +246,7 @@ func Register(r *macaron.Macaron) {
|
||||
r.Get("/metrics", wrap(GetInternalMetrics))
|
||||
|
||||
r.Group("/alerts", func() {
|
||||
r.Post("/test", bind(dtos.TestAlertRuleCommand{}), wrap(TestAlertRule))
|
||||
r.Post("/test", bind(dtos.AlertTestCommand{}), wrap(AlertTest))
|
||||
r.Get("/:alertId/states", wrap(GetAlertStates))
|
||||
//r.Put("/:alertId/state", bind(m.UpdateAlertStateCommand{}), wrap(PutAlertState))
|
||||
r.Get("/:alertId", ValidateOrgAlert, wrap(GetAlert))
|
||||
|
Reference in New Issue
Block a user