-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add escalation_path attribute example to simple catalog.jsonnet (#144)
Give an example of how you can add an escalation path as a team attribute if you use the catalog importer.
- Loading branch information
Showing
2 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
{ | ||
escalationPaths: { | ||
RSP_PINC_SP: '01JAAJH5RE685WFRSZ2VFDEKS9', | ||
ONC: '01J5B8JGEFK7DHNW00GZX1R17V', | ||
}, | ||
|
||
// All product development teams are defined here. | ||
teams: [ | ||
{ | ||
|
@@ -19,6 +24,7 @@ | |
linear_team: error 'linear_team is required', | ||
members: error 'members is required', | ||
auxiliary_members: error 'auxiliary_members is required', | ||
escalation_path: error 'escalation_path is required', | ||
} + team | ||
for team in [ | ||
{ | ||
|
@@ -46,13 +52,12 @@ | |
'megan.mcdonald', | ||
'milly', | ||
'rob', | ||
'rory', | ||
], | ||
auxiliary_members: [ | ||
'pete', | ||
'lawrence', | ||
'ben', | ||
], | ||
escalation_path: $.escalationPaths.RSP_PINC_SP, | ||
}, | ||
{ | ||
external_id: 'response', | ||
|
@@ -75,17 +80,16 @@ | |
'benji', | ||
'james.shedden', | ||
'kelsey', | ||
'leo.papaloizos', | ||
'lisa', | ||
'megan.mcdonald', | ||
'sam', | ||
'walt', | ||
], | ||
auxiliary_members: [ | ||
'pete', | ||
'lawrence', | ||
'ben', | ||
], | ||
escalation_path: $.escalationPaths.RSP_PINC_SP, | ||
}, | ||
{ | ||
external_id: 'status-pages', | ||
|
@@ -108,14 +112,41 @@ | |
'dimitra', | ||
'isaac', | ||
'james.shedden', | ||
'martha', | ||
'megan.mcdonald', | ||
], | ||
auxiliary_members: [ | ||
'pete', | ||
'lawrence', | ||
'ben', | ||
], | ||
escalation_path: $.escalationPaths.RSP_PINC_SP, | ||
}, | ||
{ | ||
external_id: 'on-call', | ||
name: 'On-call', | ||
description: 'Building a delightful on-call product.', | ||
goal: 'Responsible for the reliability and experience of the On-call product', | ||
homepage: 'https://www.notion.so/incidentio/On-call-Team-4d360ade77624b879e0d1f197f300616', | ||
group: std.format('%[email protected]', self.external_id), | ||
tech_lead: 'leo.sjoberg', | ||
engineering_manager: 'chris.class', | ||
product_manager: 'miia.paavola', | ||
sentry_team: 'on-call', | ||
slack_user_group: 'team-on-callz', | ||
slack_channel: 'team-on-call', | ||
alert_channel: '#alerts-on-call-pulse', | ||
alert_staging_channel: '#alerts-on-call-staging-pulse', | ||
linear_team: 'ONC', | ||
members: [ | ||
'lawrence', | ||
'leo.papaloizos', | ||
'martha', | ||
'rory', | ||
'rory.malcolm', | ||
], | ||
auxiliary_members: [ | ||
'sam.willis', | ||
], | ||
escalation_path: $.escalationPaths.ONC, | ||
}, | ||
] | ||
], | ||
|
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