Repository navigation
[Chore] 사용하지 않는 모니터링 스택 및 API 메트릭 제거 - #90
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: GNU-connect/Server-Node/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (22)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
📌 개요
/api/metrics경로도 함께 제거했습니다.✨ 작업 내용
모니터링 스택
monitoring/폴더 전체(docker-compose, nginx, prometheus, grafana 대시보드·데이터소스, letsencrypt 스크립트)를 삭제했습니다..github/workflows/monitoring-cd.yml을 삭제했습니다.API
MetricsInterceptor와PrometheusModule, 메트릭 provider(http_request_duration_seconds,http_requests_total,http_errors_total)를 제거했습니다.@willsoto/nestjs-prometheus,prom-client의존성을 제거했습니다.instrument.ts에서/api/metrics제외 로직을 제거했습니다. 기존tracesSampler가 그 외 요청은 1.0을 반환했으므로tracesSampleRate: 1.0으로 바꿔도 동작은 같습니다.nginx/prod.conf에서location /api/metrics블록을 제거했습니다. 이후/api/metrics요청은/api블록으로 넘어가 404를 반환합니다.문서
✅ 확인
pnpm build통과pnpm test10 suites / 74 tests 통과nginx -t검사 통과 (CD 파이프라인)/api/metrics가 404를 반환하는지 확인📝 후속 작업 (저장소 외부)
MONITORING_SSH_HOST,MONITORING_SSH_USERNAME,MONITORING_SSH_PRIVATE_KEY삭제🤖 Generated with Claude Code
Summary by CodeRabbit
/api/metrics전용 프록시 설정이 제거되었습니다.