Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 512 Bytes

ALERT.md

File metadata and controls

30 lines (24 loc) · 512 Bytes

Alert Related API Methods


The following methods are all relating to Grafana administration

Get all alerts
g.get_alerts()
Get all notifications
g.get_alert_notifications()
Creating a Notification:
g.create_alert_notification(
{
  "name": "new alert notification",  #Required
  "type":  "email",                  #Required
  "isDefault": false,
  "sendReminder": false,
  "settings": {
    "addresses": "[email protected];[email protected]"
   }
 })