-
Notifications
You must be signed in to change notification settings - Fork 330
Add monitoring for CodeGen/CodeTrans deployed by Docker compose. #2322
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
Dependency Review✅ No vulnerabilities or license issues found.Scanned FilesNone |
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.
Pull Request Overview
This PR adds monitoring capabilities to CodeTrans and CodeGen applications by integrating Prometheus, Grafana, and node-exporter for metrics collection and visualization. The monitoring stack is deployed optionally via a separate compose.monitoring.yaml file that can be merged with the main compose files.
- Adds monitoring infrastructure with Prometheus, Grafana, and node exporters
- Updates test scripts to include monitoring compose file in deployment
- Extends environment configuration to download Grafana dashboards and configure network proxies
Reviewed Changes
Copilot reviewed 33 out of 33 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| CodeTrans/tests/test_compose_*.sh | Updated test scripts to deploy with monitoring compose file |
| CodeTrans/docker_compose/intel/set_env.sh | Added proxy configuration and dashboard download logic |
| CodeTrans/docker_compose/intel/*/compose.monitoring.yaml | New monitoring stack definitions with Prometheus, Grafana, and exporters |
| CodeTrans/docker_compose/intel/*/prometheus.yaml | Prometheus configuration for scraping metrics from services |
| CodeTrans/docker_compose/intel/*/grafana/ | Grafana configuration files for datasources and dashboards |
| CodeTrans/docker_compose/intel/*/README.md | Documentation for deploying with monitoring enabled |
| CodeGen/tests/test_compose_*.sh | Updated test scripts to deploy with monitoring compose file |
| CodeGen/docker_compose/intel/set_env.sh | Added proxy configuration and dashboard download logic (duplicated) |
| CodeGen/docker_compose/intel/*/compose.monitoring.yaml | New monitoring stack definitions |
| CodeGen/docker_compose/intel/*/prometheus.yaml | Prometheus configuration |
| CodeGen/docker_compose/intel/*/grafana/ | Grafana configuration files |
| CodeGen/docker_compose/intel/*/README.md | Documentation for monitoring deployment |
| CodeGen/README.md | High-level monitoring documentation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
704f9de to
b90e9fb
Compare
Signed-off-by: Yao, Qing <[email protected]>
Signed-off-by: Yao, Qing <[email protected]>
Signed-off-by: Yao, Qing <[email protected]>
Signed-off-by: Yao, Qing <[email protected]>
Signed-off-by: Yao, Qing <[email protected]>
This reverts commit 72da351. Signed-off-by: Yao, Qing <[email protected]>
Signed-off-by: Yao, Qing <[email protected]>
Signed-off-by: Yao, Qing <[email protected]>
for more information, see https://pre-commit.ci Signed-off-by: Yao, Qing <[email protected]>
Signed-off-by: Yao, Qing <[email protected]>
33ecc75 to
e91afed
Compare
for more information, see https://pre-commit.ci
Description
Add monitoring for CodeGen/CodeTrans deployed by Docker compose.
Issues
n/a.Type of change
List the type of change like below. Please delete options that are not relevant.
Dependencies
n/a.Tests
CI/UT