-
Notifications
You must be signed in to change notification settings - Fork 0
Feature: prometheus grafana 추가 #207
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
Conversation
Walkthrough이 변경사항은 사용자 API 서비스에 Prometheus 및 Grafana 기반 모니터링을 통합하기 위한 작업입니다. 배포 워크플로우와 스크립트가 수정되어 모니터링 관련 파일과 서비스를 함께 배포하며, API 모듈에 Prometheus 의존성이 추가되고, 보안 설정에 관리 엔드포인트가 공개됩니다. Changes
Sequence Diagram(s)sequenceDiagram
participant DevOps as DevOps Workflow
participant EC2 as EC2 Server
participant App as nowait-app-user-api
participant Prom as Prometheus
participant Graf as Grafana
DevOps->>DevOps: Decode prometheus.yml from secret
DevOps->>EC2: SCP docker-compose.user.yml, docker-compose.user-monitoring.yml, prometheus.yml, deploy-user-docker.sh
DevOps->>EC2: SSH run deploy-user-docker.sh
EC2->>App: docker-compose up nowait-app-user-api
EC2->>Prom: docker-compose up prometheus
EC2->>Graf: docker-compose up grafana
Prom->>App: Scrape metrics via actuator/prometheus
Graf->>Prom: Query metrics for dashboards
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~15–20 minutes Possibly related PRs
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
🧰 Additional context used🪛 actionlint (1.7.7).github/workflows/deploy-user-docker.yml50-50: the runner of "docker/login-action@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue (action) 84-84: expected scalar node for string value but found sequence node with "!!seq" tag (syntax-check) 91-91: the runner of "docker/login-action@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue (action) 🔇 Additional comments (6)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
작업 요약
prometheus grafana 추가
Issue Link
#206
문제점 및 어려움
해결 방안
Reference
Summary by CodeRabbit
신규 기능
버그 수정
배포
기타