You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.
We should support additional templates that users could optionally choose via a tag on their alert, perhaps just named template?
The pagerduty code will need to be modified to extract this tag and return a map of components to templates, which sync would use to lookup a value to pass into open_incident.
This raises the question of what to do if there are multiple pagerduty alerts for the same statuspage component that have different templates chosen. My inclination is to log an error and use the first template.
Currently the default template is hardcoded.
We should support additional templates that users could optionally choose via a tag on their alert, perhaps just named
template
?The pagerduty code will need to be modified to extract this tag and return a map of components to templates, which
sync
would use to lookup a value to pass intoopen_incident
.This raises the question of what to do if there are multiple pagerduty alerts for the same statuspage component that have different templates chosen. My inclination is to log an error and use the first template.
https://github.com/mozilla-services/pagerstatus/blob/master/chalicelib/statuspage.py#L85
The text was updated successfully, but these errors were encountered: