[feat] #290 - Prometheus actuator 설정 완료 #301
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related issue 🛠
Work Description ✏️
https://techblog.woowahan.com/9232/
밑의 설명을 이해하기 위해서는 위의 블로그를 보고 오시는 것을 추천합니다.
1. actuator path 및 port 변경(Actuator는 서비스 운영에 사용되는 포트와 다른 포트를 사용한다. Actuator Default 경로를 사용하지 않고, 경로를 변경하여 운영한다.)
2. Actuator endpoint는 all disable 상태에서 필요한 것만 include하여 화이트리스트 형태로 운영
3. HTTP(WEB) 엔드포인트 설정
4. JMX형태로 Actuator 사용이 필요하지 않을 경우, 반드시 disable한다.
5. Actuator에 접근할 때에는, 인증되었으며 권한이 있는 사용자만이 접근가능하도록 제어한다?
Trouble Shooting ⚽️
Related ScreenShot 📷
보안상의 이유로 스크린샷을 첨부하지는 못하지만, 바뀐 actuator path와 port로 heatlh와 prometheus 요청이 잘 성공한 것을 확인했습니다.
머지 후 그라파나 연동 확인 완료
Uncompleted Tasks 😅
To Reviewers 📢