Cluster API ヘルス

ヘルスの Cluster API 解説書

ヘルス

GET /health/{service}

サービスのヘルスを取得します

パラメータ:
  • service – サービス名
応答 JSON オブジェクト:
  • [] (object) –
  • [].Node (string) – サービスで使用されるノード名。
  • [].CheckID (string) – 型を識別する ID。
  • [].Name (string) – サービス名の CheckID。
  • [].Status (string) – サービスのステータス。
  • [].Notes (string) – サービス関連の注釈。
  • [].Output (string) – サービスに関連するアウトプット。
  • [].ServiceID (string) – サービス名
  • [].ServiceName (string) – サービス名。
  • [].ServiceTags[] (string) – サービスのタグ一覧。
  • [].Definition.HTTP (string) –
  • [].Definition.Header (string) –
  • [].Definition.Method (string) –
  • [].Definition.TLSSkipVerify (boolean) –
  • [].Definition.TCP (string) –
  • [].Definition.Interval (string) –
  • [].Definition.Timeout (string) –
  • [].Definition.DeregisterCriticalServiceAfter (string) –

応答例 :

[
  {
    "Node": "",
    "CheckID": "",
    "Name": "",
    "Status": "",
    "Notes": "",
    "Output": "",
    "ServiceID": "",
    "ServiceName": "",
    "ServiceTags": [
      ""
    ],
    "Definition": {
      "HTTP": "",
      "Header": "",
      "Method": "",
      "TLSSkipVerify": false,
      "TCP": "",
      "Interval": "",
      "Timeout": "",
      "DeregisterCriticalServiceAfter": ""
    }
  }
]