Module: Grafana::Alerts

Defined in:
lib/grafana/alerts.rb

Overview

Instance Method Summary collapse

Instance Method Details

#alert_notificationsObject

Get alert notifications GET /api/alert-notifications



22
# File 'lib/grafana/alerts.rb', line 22

def alert_notifications; end

#alert_pause(id) ⇒ Object

Pause alert POST /api/alerts/:id/pause



18
# File 'lib/grafana/alerts.rb', line 18

def alert_pause( id ); end

#alerts(id = nil) ⇒ Object

Get alerts GET /api/alerts/

Get one alert GET /api/alerts/:id



14
# File 'lib/grafana/alerts.rb', line 14

def alerts( id = nil ); end

#create_alert_notification(oarams) ⇒ Object

Create alert notification POST /api/alert-notifications



26
# File 'lib/grafana/alerts.rb', line 26

def create_alert_notification( oarams ); end

#delete_alert_notification(id) ⇒ Object

Delete alert notification DELETE /api/alert-notifications/:notificationId



34
# File 'lib/grafana/alerts.rb', line 34

def delete_alert_notification( id ); end

#update_alert_notification(params) ⇒ Object

Update alert notification PUT /api/alert-notifications/1



30
# File 'lib/grafana/alerts.rb', line 30

def update_alert_notification( params ); end