-
Notifications
You must be signed in to change notification settings - Fork 4
Feature: 주석처리 #404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Feature: 주석처리 #404
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Prometheus / Actuator 의존성 주석 처리로 운영 모니터링·헬스체크가 무력화될 수 있습니다
운영 환경에서
spring-boot-starter-actuator가 제공하는/actuator/health,/actuator/prometheus등 엔드포인트가 K8s Liveness/Readiness-Probe, Grafana 대시보드, AlertManager 룰 등에 이미 연결돼 있다면, 주석 처리만으로도 바로 장애 감지·지표 수집이 중단됩니다. 알림 비동기화(BADA-364) 목적과 직접적 관련이 없는 변경이므로 영향 범위를 재확인해 주세요.다음 스크립트로 Actuator 엔드포인트 의존 여부를 빠르게 살펴볼 수 있습니다:
확인 결과 장애 가능성이 있다면,
monitoring전용), 3) 별도 모듈로 분리 중 하나를 선택하는 방안을 권장합니다.🏁 Script executed:
Length of output: 493
rg의
--ignore-dir옵션이 지원되지 않아 검색이 실패했습니다. 다음 스크립트로build디렉토리를 제외하고/actuator/참조를 다시 확인해 보세요:🏁 Script executed:
Length of output: 190
Actuator 의존성 주석 처리로 모니터링·헬스체크 중단 위험
보안 설정에서
/actuator/**엔드포인트를 명시적으로 허용하고 있어, 의존성을 주석 처리할 경우 해당 경로가 완전히 비활성화되어 Liveness/Readiness-Probe, Grafana, AlertManager 등이 작동을 멈출 수 있습니다.발견 위치
.requestMatchers("/actuator/**").permitAll()해결 방안(택1)
spring-boot-starter-actuator,micrometer-registry-prometheus)🤖 Prompt for AI Agents