Orchestrator
2021.10
偽
- 基本情報
- Swagger 定義
- Orchestrator API の使用例
- プラットフォーム管理 API
健全性チェックのエンドポイント
Orchestrator API ガイド
最終更新日 2024年4月19日
健全性チェックのエンドポイント
健全性チェック エンドポイントと呼ばれる特別なエンドポイントに API 呼び出しを送信し、すべてのサービスが稼働中であることを確認します。
これらのエンドポイントは健全性チェックを実行し、チェックするサービスが機能しているかどうかを通知するステータスを返します。
Orchestrator インスタンスとその依存関係が利用可能かどうかを確認するには、次のエンドポイントを使用します。
-
GET
https://{yourDomain}/api/health
— 重要な依存関係のみを確認します。 -
GET
https://{yourDomain}/api/health/startup
— すべての依存関係を確認します。
既定では、上記の健全性チェック エンドポイントは空の応答本文を返します。
実行された健全性チェックとそのステータスを確認するには、以下の手順を実行します。
- Open the
UiPath.Orchestrator.dll.config
file (C:\Program Files (x86)\UiPath\Orchestrator
), andadd<add key="HealthCheck.DetailsKey" value="12345" />
in the<appsettings>
section.12345
serves as a password which allows you to access the health checks, so do not forget to change it with a value of your own. - Restart IIS to ensure that the change takes effect.
- Use the previously set password as a query parameter in the health check API call (for example,
/api/health?detailsKey=password
). If successful, the call returns a response body containing details about the health checks and their statuses.
Once you complete these steps, the health check will also be accessible from a machine different to the Orchestrator server.
Identity Server が動作しているかどうかを確認するには、次のエンドポイントを使用します。
-
GET
https://{yourDomain}/identity/health
このエンドポイントの応答本文に、Identity Server の構成の概要が含まれています。
{
"status": "Healthy",
"results": {
"ApplicationDbContext": {
"status": "Healthy",
"description": null,
"data": {}
},
"AuditDbContext": {
"status": "Healthy",
"description": null,
"data": {}
},
"PersistedGrantDbContext": {
"status": "Healthy",
"description": null,
"data": {}
},
"IdentityServerConfigurationDbContext": {
"status": "Healthy",
"description": null,
"data": {}
}
}
}
{
"status": "Healthy",
"results": {
"ApplicationDbContext": {
"status": "Healthy",
"description": null,
"data": {}
},
"AuditDbContext": {
"status": "Healthy",
"description": null,
"data": {}
},
"PersistedGrantDbContext": {
"status": "Healthy",
"description": null,
"data": {}
},
"IdentityServerConfigurationDbContext": {
"status": "Healthy",
"description": null,
"data": {}
}
}
}
エラー コード 500 は異常なステータスを通知しますが、それにもかかわらず応答本文が返される場合があります。応答本文の内容を確認して理由を特定してください。
Webhook サービスの利用可否を確認するには、次のエンドポイントを使用します。
-
GET
https://{yourDomain}/webhooks/api/status