fix(pagerduty): update pagerduty sendevent function (#1542)

* fix(pagerduty): update pagerduty sendevent function

Update pagerduty.sendEvent parameters have changed

* fix(review): update based on review
pull/1691/head
AJ 2020-10-20 12:51:07 -04:00 committed by GitHub
parent c7b9db8013
commit dc366504b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 9 deletions

View File

@ -27,7 +27,7 @@ pagerduty.sendEvent(
class: "cpu usage",
group: "app-stack",
severity: "ok",
component: "postgres",
eventAction: "trigger",
source: "monitoringtool:vendor:region",
summary: "This is an example summary.",
timestamp: "2016-07-17T08:42:58.315+0000"
@ -96,7 +96,7 @@ The severity of the event.
_**Data type:** String_
### eventAction
The type of event to send to PagerDuty.
[Event type](https://developer.pagerduty.com/docs/events-api-v1/overview/#event-types) to send to PagerDuty.
**Valid values include:**
@ -106,13 +106,6 @@ The type of event to send to PagerDuty.
_**Data type:** String_
### component
The component of the source machine responsible for the event.
Components are user-defined.
For example, `mysql` or `eth0`.
_**Data type:** String_
### source
The unique location of the affected system.
For example, the hostname or fully qualified domain name (FQDN).