This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- type: setval | |
handlebars: true | |
map: | |
title: I just changed the title! | |
description: "See the alert {{log.data.external_url}}" | |
tags: | |
- some | |
- cool | |
- tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- type: incident | |
handlebars: true | |
severity: "{{log.commonLabels.severity}}" | |
message: Please join the call - https://mycallsoftware.com/call/123 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- type: bridge | |
id: brg_xxxxxxx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- type: incident | |
severity: SEV-2 | |
message: Please join the call - https://mycallsoftware.com/call/123 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- type: escalate | |
# repeat: 1 # optional, but only works if all layers are just users | |
rules: | |
# assign it to user | |
- receivers: | |
- usr_xxxxxxxx | |
timeout: 1m | |
# transfer to team if not ack in 1 min. | |
- receivers: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
rules: | |
# ignore alerts M,W between 5-7p California Time | |
- match: | |
$and: | |
- $day: | |
timezone: 'America/Los_Angeles' | |
$in: | |
- 1 # monday | |
- 3 # wednesday |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sensorid=%sensorid&sensor=%sensor&status=%status |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
rules: | |
- match: | |
$timeBetween: | |
timeformat: 'hh:mm a' | |
timezone: 'America/New_York' | |
starttime: '12:00 am' | |
endtime: '12:00 pm' | |
actions: | |
- type: assign |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /integration/int_ODCWagoG9 HTTP/1.1 | |
Host: api.pagertree.com | |
Content-Type: application/json | |
{ | |
"event_type": "create", | |
"Id": "example-id-123", | |
"Title": "Example Incident Title", | |
"Description": "Example Incident Description", | |
"Tags": [ |