{"action":"closed","issue":{"url":"https://api.github.com/repos/ministryofjustice/cloud-platform/issues/196","repository_url":"https://api.github.com/repos/ministryofjustice/cloud-platform","labels_url":"https://api.github.com/repos/ministryofjustice/cloud-platform/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/ministryofjustice/cloud-platform/issues/196/comments","events_url":"https://api.github.com/repos/ministryofjustice/cloud-platform/issues/196/events","html_url":"https://github.com/ministryofjustice/cloud-platform/issues/196","id":335868745,"node_id":"MDU6SXNzdWUzMzU4Njg3NDU=","number":196,"title":"Standardise cloud platform pingdom checks","user":{"login":"kalbir","id":3952074,"node_id":"MDQ6VXNlcjM5NTIwNzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3952074?v=4","gravatar_id":"","url":"https://api.github.com/users/kalbir","html_url":"https://github.com/kalbir","followers_url":"https://api.github.com/users/kalbir/followers","following_url":"https://api.github.com/users/kalbir/following{/other_user}","gists_url":"https://api.github.com/users/kalbir/gists{/gist_id}","starred_url":"https://api.github.com/users/kalbir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalbir/subscriptions","organizations_url":"https://api.github.com/users/kalbir/orgs","repos_url":"https://api.github.com/users/kalbir/repos","events_url":"https://api.github.com/users/kalbir/events{/privacy}","received_events_url":"https://api.github.com/users/kalbir/received_events","type":"User","site_admin":false},"labels":[{"id":932424361,"node_id":"MDU6TGFiZWw5MzI0MjQzNjE=","url":"https://api.github.com/repos/ministryofjustice/cloud-platform/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":{"login":"sid234","id":28536403,"node_id":"MDQ6VXNlcjI4NTM2NDAz","avatar_url":"https://avatars3.githubusercontent.com/u/28536403?v=4","gravatar_id":"","url":"https://api.github.com/users/sid234","html_url":"https://github.com/sid234","followers_url":"https://api.github.com/users/sid234/followers","following_url":"https://api.github.com/users/sid234/following{/other_user}","gists_url":"https://api.github.com/users/sid234/gists{/gist_id}","starred_url":"https://api.github.com/users/sid234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sid234/subscriptions","organizations_url":"https://api.github.com/users/sid234/orgs","repos_url":"https://api.github.com/users/sid234/repos","events_url":"https://api.github.com/users/sid234/events{/privacy}","received_events_url":"https://api.github.com/users/sid234/received_events","type":"User","site_admin":false},"assignees":[{"login":"sid234","id":28536403,"node_id":"MDQ6VXNlcjI4NTM2NDAz","avatar_url":"https://avatars3.githubusercontent.com/u/28536403?v=4","gravatar_id":"","url":"https://api.github.com/users/sid234","html_url":"https://github.com/sid234","followers_url":"https://api.github.com/users/sid234/followers","following_url":"https://api.github.com/users/sid234/following{/other_user}","gists_url":"https://api.github.com/users/sid234/gists{/gist_id}","starred_url":"https://api.github.com/users/sid234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sid234/subscriptions","organizations_url":"https://api.github.com/users/sid234/orgs","repos_url":"https://api.github.com/users/sid234/repos","events_url":"https://api.github.com/users/sid234/events{/privacy}","received_events_url":"https://api.github.com/users/sid234/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-06-26T15:15:13Z","updated_at":"2018-07-16T15:41:44Z","closed_at":"2018-07-16T15:41:44Z","author_association":"CONTRIBUTOR","body":"## Background\r\n\r\nThe pingdom checks that alert the cloud platform can be quite different in their definition -- they can vary in how often they run and how long before they send an alert. We want to make these consistent by having *one alert for each service we run* that has:\r\n\r\n1. A consistent check interval (e.g. check every two minutes)\r\n2. A consistent alert time (e.g. alert after 3 failures, after 5 mins)\r\n3. Uses the webhook method to alert rather than email \r\n\r\nAlso where possible we want each of the alerts to: \r\n\r\n4. Check the `/healthcheck.json` endpoint -- this isn't possible in every case as the endpoint isn't always defined, if that is the case then it checks the homepage of the app for a `HTTP 200` response. \r\n\r\n## Approach\r\n\r\n- Use the terraform provider (see #195 )\r\n\r\n## Questions / Assumptions\r\n\r\n- For services that we do no manage, should we remove the cloud platform team as a recipient of alerts (I think yes) \r\n\r\n## Definition of done\r\n\r\n<!-- Checklist for definition of done and acceptance criteria, for example: -->\r\n\r\n- [ ] Each service that we run has 1 pingdom check that alerts our team\r\n- [ ] Each pingdom check that alerts our team has the same check interval and alert time\r\n- [ ] Each pingdom check we have defined uses the webhook method to pagerduty to alert us\r\n\r\n## Reference\r\n\r\n[How to write good user stories](https://www.gov.uk/service-manual/agile-delivery/writing-user-stories)\r\n"}}
{"actor":{"display_login":"sid234"}}