This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Send an Alert Event to PagerDuty | |
NOTE: "ALERT_ROUTING_KEY" environment variable must contain a | |
valid routing key for a PagerDuty service. | |
https://developer.pagerduty.com/docs/ZG9jOjExMDI5NTgw-events-api-v2-overview#getting-started | |
Usage: | |
$ python -m pd_alert "Alert Title" "Alert Body" "dedup_key" |
OlderNewer