Add monitoring for CodeGen/CodeTrans deployed by Docker compose.#2322
Merged
Add monitoring for CodeGen/CodeTrans deployed by Docker compose.#2322
Conversation
Dependency Review✅ No vulnerabilities or license issues found.Scanned FilesNone |
Contributor
There was a problem hiding this comment.
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 <qing.yao@intel.com>
Signed-off-by: Yao, Qing <qing.yao@intel.com>
Signed-off-by: Yao, Qing <qing.yao@intel.com>
Signed-off-by: Yao, Qing <qing.yao@intel.com>
Signed-off-by: Yao, Qing <qing.yao@intel.com>
This reverts commit 72da351. Signed-off-by: Yao, Qing <qing.yao@intel.com>
Signed-off-by: Yao, Qing <qing.yao@intel.com>
for more information, see https://pre-commit.ci Signed-off-by: Yao, Qing <qing.yao@intel.com>
Signed-off-by: Yao, Qing <qing.yao@intel.com>
33ecc75 to
e91afed
Compare
for more information, see https://pre-commit.ci
ZePan110
approved these changes
Nov 5, 2025
joshuayao
approved these changes
Nov 5, 2025
cogniware-devops
pushed a commit
to Cogniware-Inc/GenAIExamples
that referenced
this pull request
Dec 19, 2025
…a-project#2322) Signed-off-by: Yao, Qing <qing.yao@intel.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: cogniware-devops <ambarish.desai@cogniware.ai>
cogniware-devops
pushed a commit
to Cogniware-Inc/GenAIExamples
that referenced
this pull request
Dec 19, 2025
…a-project#2322) Signed-off-by: Yao, Qing <qing.yao@intel.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: cogniware-devops <ambarish.desai@cogniware.ai>
cogniware-devops
pushed a commit
to Cogniware-Inc/GenAIExamples
that referenced
this pull request
Dec 19, 2025
…a-project#2322) Signed-off-by: Yao, Qing <qing.yao@intel.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: cogniware-devops <ambarish.desai@cogniware.ai>
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.
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