Skip to content

Conversation

@yao531441
Copy link
Collaborator

@yao531441 yao531441 commented Nov 4, 2025

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.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)
  • Others (enhancement, documentation, validation, etc.)

Dependencies

n/a.

Tests

CI/UT

Copilot AI review requested due to automatic review settings November 4, 2025 03:12
@github-actions
Copy link

github-actions bot commented Nov 4, 2025

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Files

None

Copy link
Contributor

Copilot AI left a 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.

@joshuayao joshuayao merged commit 17c0637 into main Nov 5, 2025
29 checks passed
@joshuayao joshuayao deleted the yao531441/dev branch November 5, 2025 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants