Jira「status」エンドポイントの応答の意味
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
Jira has a '/status' endpoint which is a very lightweight endpoint that can be used by load balancers, other monitoring and admins to quickly check if that node is in a state where it is ready to process new incoming requests. It consists of a HTTP status code and a JSON formatted payload with the state. A node that is good to accept new requests returns HTTP status 200 and '{"state":"RUNNING"}'。
考えられる HTTP ステータス コードとステートの応答は次のとおりです。
status | state |
|---|---|
200 | "STARTING"/"STOPPING"/"FIRST_RUN"/"RUNNING": Jira is running or is starting up "STARTING": Jira is (this far) starting up OK but is not yet ready to take requests. "STOPPING": Jira is in its shutdown sequence. "FIRST_RUN": Jira is starting up for the first time and is busy with setting itself up and can not take requests yet. "RUNNING" Jira is running and ready to accept new requests. |
503 | "MAINTENANCE": Startup is delayed by a reindexing event, and nothing else |
500 | "ERROR": Startup is prevented by an event other than a reindexing event |
ℹ️ Note that this means that getting HTTP status 200 back is not enough on its own to determine if the node is ready. It has to be status 200 and "RUNNING" together.
Also see Load balancer configuration options
この内容はお役に立ちましたか?