🚀

SaaS障害のステータス情報をJSONレスポンスで受け取れるかどうか調査

2023/05/15に公開
SaaS JSON形式レスポンス 補足
NewRelic https://status.newrelic.com/api/v2/status.json
Datadog https://status.datadoghq.com/api/v2/status.json
Slack https://status.slack.com/api/v2.0.0/current →詳細はこちら
PagerDuty https://status.pagerduty.com/api/v2/status.json
AWS ない AWS HealthのAPIをcli経由でたたけとの事
Backlog ない
GoogleCloud ない
Azure ない

サンプル(JSONレスポンス)

NewRelic

{
  "page": {
    "id": "xxx",
    "name": "New Relic",
    "url": "http://status.newrelic.com",
    "time_zone": "Etc/UTC",
    "updated_at": "2023-05-14T08:01:12.434-04:00"
  },
  "status": {
    "indicator": "none",
    "description": "All Systems Operational"
  }
}

Datadog

{
  "page": {
    "id": "xxx",
    "name": "Datadog",
    "url": "https://status.datadoghq.com",
    "time_zone": "Etc/UTC",
    "updated_at": "2023-05-14T03:57:50.392-04:00"
  },
  "status": {
    "indicator": "none",
    "description": "All Systems Operational"
  }
}

Slack

{
    "status":"ok",
    "active_incidents": [],
    "date_created":"2018-09-07T18:34:15-07:00",
    "date_updated":"2018-09-07T18:34:15-07:00"
}
  {
    "status": "active",
    "date_created": "2019-04-09T07:35:46-07:00",
    "date_updated": "2019-04-09T07:35:46-07:00",
    "active_incidents": [
      {
        "id": "546",
        "date_created": "2018-09-07T14:35:00-07:00",
        "date_updated": "2018-09-07T18:34:15-07:00",
        "title": "Slack’s forwarding email feature is failing for some customers",
        "type": "incident",
        "status": "active",
        "url": "https://status.slack.com/2018-09/7dea1cd14cd0f657",
        "services": [
          "Apps/Integrations/APIs"
        ],
        "notes": [
          {
            "date_created": "2018-09-07T18:34:15-07:00",
            "body": "Technical Summary:\r\nOn September 7th at 2:35pm PT, we received reports that emails were failing to deliver to Slack forwarding addresses. We identified that this was the result of an expired certificate used to verify requests sent from our email provider. At 4:55pm PT, we deployed an update that corrected this and fixed the problem. Unfortunately any email sent to a forwarding address during this time is not retrievable and will need to be re-sent."
          }
        ],
      },
      ...
    ]
  }

PagerDuty

{
  "page":{
    "id":"xxx",
    "name":"PagerDuty",
    "url":"http://status.pagerduty.com",
    "time_zone":"America/Los_Angeles",
    "updated_at":"2021-11-15T17:42:03.016-08:00"
  },
  "status":{
    "indicator":"none",
    "description":"All Systems Operational"
  }
}

Discussion