influxdb/notification/rule
Chris Goller 8367d8d252
feat(notification/rule): add JSON body for the HTTP POST (#14994)
The body of the JSON webhook would be:
{
        "version": 1,
        "rule_name": notification._notification_rule_name,
        "rule_id": notification._notification_rule_id,
        "endpoint_name": notification._notification_endpoint_name,
        "endpoint_id": notification._notification_endpoint_id,
        "check_name": r._check_name,
        "check_id": r._check_id,
        "check_type": r._type,
        "source_measurement": r._source_measurement,
        "source_timestamp": r._source_timestamp,
        "level": r._level,
        "message": r._message,
}
2019-09-05 20:38:02 -05:00
..
http.go feat(notification/rule): add JSON body for the HTTP POST (#14994) 2019-09-05 20:38:02 -05:00
http_test.go feat(notification/rule): add JSON body for the HTTP POST (#14994) 2019-09-05 20:38:02 -05:00
pagerduty.go feat(pagerduty): update pagerduty generation schema 2019-09-05 14:16:01 -07:00
pagerduty_test.go test(alerts): update time in pagerduty test 2019-09-05 14:31:15 -07:00
rule.go fix(notification/rule): filter statuses by current level if no previous 2019-09-05 10:30:11 -04:00
rule_test.go Add Any to rule levels (#14866) 2019-08-29 17:46:00 -07:00
slack.go fix(notification/rule): conditionally include url and token for slack rule 2019-09-05 18:00:45 -04:00
slack_test.go fix(notification/rule): conditionally include url and token for slack rule 2019-09-05 18:00:45 -04:00