pagerduty-alert
A simple PagerDuty alert trigger that acts like console.log() and returns an axios request promise.
npm install pagerduty-alert --save
Usage
Set the PAGERDUTY_INTEGRATION_KEY environment variable to the GUID of one of your "Generic API" services. Go to a service and add a new integration that uses the PagerDuty API directly (a generic API integration).
export PAGERDUTY_INTEGRATION_KEY=service-integration-key
var alert = ; // You can use console.log style flexible argumentsalert; // Or use 'trigger' event type attributesalert;
License
ISC