ヘルスチェック失敗時のログ修正
影響対象
ServeHealthCheck が提供するヘルスチェック。repo-server の /healthz?full=true による生存確認を含みますrepo-server の /healthz?full=true による生存確認が失敗した際、ログは不正でわかりにくく、ヘルスチェックの有用なエラーではなく HTTP レスポンスライターの表現が含まれていました。失敗時のログに有用なエラーメッセージが記録されるようになり、構造化された duration、component、error フィールドも追加されました。
根拠“This PR fixes the error message and, additionally, it adds the "duration" field to the message that prints duration of the failed healthcheck: this can be useful for troubleshooting healthcheck failures.” argoproj/argo-cd/pull/26039 ↗
原文を表示
* 1b7cfc0c0682118b04058419976d90152723a6d0: fix: invalid error message on health check failure (#26040) (cherry pick #26039 for 3.1) (#26071) (@dudinea)github.com/argoproj/argo-cd/releases/tag/v3.1.12