헬스 체크 실패 로그 수정
영향 대상
ServeHealthCheck가 제공하는 헬스 체크. 여기에는 repo-server의 /healthz?full=true 라이브니스 체크가 포함됩니다repo-server의 /healthz?full=true 라이브니스 체크가 실패하면, 로그에 유용한 헬스 체크 오류 대신 HTTP response writer의 표현이 포함되어 내용이 잘못되고 혼란스러웠습니다. 이제 실패 로그에 유용한 오류 메시지와 구조화된 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