fix(pagerduty): update pagerduty sendevent function (#1542)
* fix(pagerduty): update pagerduty sendevent function Update pagerduty.sendEvent parameters have changed * fix(review): update based on reviewpull/1691/head
parent
c7b9db8013
commit
dc366504b5
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue