skyline.boundary package

Submodules

skyline.boundary.agent module

skyline.boundary.boundary module

skyline.boundary.boundary_alerters module

boundary_alerters

skyline_app_logfile = '/var/log/skyline/boundary.log'

Create any alerter you want here. The function is invoked from trigger_alert. 7 arguments will be passed in as strings: alerter, datapoint, metric_name, expiration_time, metric_trigger, algorithm, metric_timestamp

alert_smtp(datapoint, metric_name, expiration_time, metric_trigger, algorithm, metric_timestamp, alert_threshold)[source]
alert_pagerduty(datapoint, metric_name, expiration_time, metric_trigger, algorithm, metric_timestamp, alert_threshold)[source]
alert_hipchat(datapoint, metric_name, expiration_time, metric_trigger, algorithm, metric_timestamp)[source]
alert_syslog(datapoint, metric_name, expiration_time, metric_trigger, algorithm, metric_timestamp, alert_threshold)[source]
alert_slack(datapoint, metric_name, expiration_time, metric_trigger, algorithm, metric_timestamp, alert_threshold)[source]
alert_http(alerter, datapoint, metric_name, expiration_time, metric_trigger, algorithm, metric_timestamp, alert_threshold, alerter_id=None, labelled_metric=None)[source]

Called by trigger_alert() and sends and resend anomalies to a http endpoint.

alert_sms(datapoint, metric_name, expiration_time, metric_trigger, algorithm, metric_timestamp, alert_threshold)[source]

Called by trigger_alert() and sends anomalies to a SMS endpoint.

trigger_alert(alerter, datapoint, metric_name, expiration_time, metric_trigger, algorithm, metric_timestamp, alert_threshold, alerter_id=None, anomaly_id=None, labelled_metric=None)[source]

skyline.boundary.boundary_algorithms module

Module contents