feat: Add PagerDuty Integration (#565)

Co-authored-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
Jingsi Zhu
2020-10-22 20:48:37 -04:00
committed by GitHub
parent ac37f87793
commit 11ee0bf1a3
8 changed files with 3236 additions and 2 deletions
+4
View File
@@ -147,6 +147,10 @@ const notifications = {
topic: envOrString(process.env.MQTT_TOPIC, 'nvidia-snatcher/alert'),
username: envOrString(process.env.MQTT_USERNAME)
},
pagerduty: {
integrationKey: envOrString(process.env.PAGERDUTY_INTEGRATION_KEY),
severity: envOrString(process.env.PAGERDUTY_SEVERITY, 'info')
},
phone: {
availableCarriers: new Map([
['att', 'txt.att.net'],