Send PagerDuty Message Stage
Read more about PagerDuty integration in Fusion on our blog.
Before you can use the PagerDuty pipeline stage, you must enable PagerDuty messaging in Fusion:
-
Click Applications > System > Messaging Services.
-
Select PagerDuty Message Service from the drop-down menu.
-
Enter the following information:
-
Click Save message service.
|
When entering configuration values in the UI, use unescaped characters, such as \t for the tab character. When entering configuration values in the API, use escaped characters, such as \\t for the tab character.
|
Send a PagerDuty Message using the Fusion Messaging Service. This can be used for things like alerting and more.
skip - boolean
Set to true to skip this stage.
Default: false
label - string
A unique label for this stage.
<= 255 characters
condition - string
Define a conditional script that must result in true or false. This can be used to determine if the stage should process or not.
storeInContext - boolean
Put the generated Message later in the pipeline.
Default: false
responseKey - string
The name of the key to store the MessageResponse under in the Pipeline Context.
Default: messageResponse
errorKey - string
The name of the key to store a boolean if sending a message failed. If set, you can check the MessageResponse errorCode and other attributes for the reason.
Default: messageResponseFailure
eventType - stringrequired
Select the Pager Duty Event Type.
Default: trigger
Allowed values: triggeracknowledgeresolve
incidentDescription - stringrequired
A short description of the problem that led to this trigger. This field (or a truncated version) will be used when generating phone calls, SMS messages and alert emails. It will also appear on the incidents tables in the PagerDuty UI. The maximum length is 1024 characters.
<= 1024 characters
>= 1 characters
Default: Sample Description
incidentKey - string
Identifies the incident to which this trigger event should be applied. If there's no open (i.e. unresolved) incident with this key, a new one will be created. If there's already an open incident with a matching key, this event will be appended to that incident's log.
>= 1 characters
Default: Incident <doc.id>
client - string
The name of the monitoring client that is triggering this event.
>= 1 characters
Default: Fusion
clientURL - string
The URL of the monitoring client that is triggering this event.
>= 1 characters
Default: fusion-monitoring.yourdomain.com
incidentDetails - array[object]
object attributes:{name
required : {
display name: Name
type: string
}value
required : {
display name: Value
type: string
}}
incidentContextLinks - array[object]
object attributes:{href
required : {
display name: Target Link
type: string
}text
: {
display name: Text
type: string
}}
incidentContextImages - array[object]
object attributes:{src
required : {
display name: Source
type: string
}href
required : {
display name: Target Link
type: string
}alt
: {
display name: Alternate Text
type: string
}}