🚀

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

2023/05/15に公開

NewRelic

Q. newrelicのステータス情報をJSON形式でレスポンスを提供する公式なAPIは存在しますか?

A. ある

https://status.newrelic.com/api/v2/status.json

JSONレスポンス

{
  "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

Q. datadogのステータス情報をJSON形式でレスポンスを提供する公式なAPIは存在しますか?

A. ある

https://status.datadoghq.com/api/v2/status.json

JSONレスポンス

{
  "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

Q. slackのステータス情報をJSON形式でレスポンスを提供する公式なAPIは存在しますか?

A. ある

https://status.slack.com/api/v2.0.0/current

JSONレスポンス

→詳細はこちら

{
    "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

Q. PagerDutyのステータス情報をJSON形式でレスポンスを提供する公式なAPIは存在しますか?

A. ある

https://status.pagerduty.com/api/v2/status.json

JSONレスポンス

{
  "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"
  }
}

AWS

Q. AWSのステータス情報をJSON形式でレスポンスを提供する公式なAPIは存在しますか?

ない。が、HealthのAPIをcli経由でたたけとの事

AWS CLIの aws health describe-events コマンドを使用すると、AWS Healthのイベント情報を取得できます。

https://docs.aws.amazon.com/cli/latest/reference/health/describe-events.html

Backlog

Q. Backlogのステータス情報をJSON形式でレスポンスを提供する公式なAPIは存在しますか?

A. ない

GoogleCloud

Q. GoogleCloudのステータス情報をJSON形式でレスポンスを提供する公式なAPIは存在しますか?

ない

Azure

Q. Azureのステータス情報をJSON形式でレスポンスを提供する公式なAPIは存在しますか?

ない

Discussion