feat(annotations): added support to show grafana stored annotations in graphs, #5982
This commit is contained in:
1 parent
c769148701
commit
d60bd77658
21 files changed
+246
-178
No files matched your search
+2
-2
@@ -254,8 +254,6 @@ func Register(r *macaron.Macaron) {
|
||||
r.Get("/", wrap(GetAlerts))
|
||||
})
|
||||
|
||||
r.Get("/alert-history", wrap(GetAlertHistory))
|
||||
|
||||
r.Get("/alert-notifications", wrap(GetAlertNotifications))
|
||||
|
||||
r.Group("/alert-notifications", func() {
|
||||
@@ -266,6 +264,8 @@ func Register(r *macaron.Macaron) {
|
||||
r.Delete("/:notificationId", wrap(DeleteAlertNotification))
|
||||
}, reqOrgAdmin)
|
||||
|
||||
r.Get("/annotations", wrap(GetAnnotations))
|
||||
|
||||
// error test
|
||||
r.Get("/metrics/error", wrap(GenerateError))
|
||||
|
||||
|
||||
Reference in new issue
Block a user