Skip to content

Conversation

@xDarksome
Copy link
Member

Description

How Has This Been Tested?

Due Diligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

Copilot AI review requested due to automatic review settings January 7, 2026 14:28
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 functionality to export Prometheus metrics to S3 using the prom2parquet tool. The changes refactor the service module to support multiple containers per ECS task, enabling the deployment of sidecar containers alongside primary services.

Key Changes

  • Refactored the service module to support a list of containers instead of a single container configuration, enabling multi-container ECS task definitions
  • Added prom2parquet as an optional sidecar container to the Prometheus service for S3 export functionality
  • Updated all existing service configurations (db, node, prometheus, grafana) to use the new containers list structure

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
infra/testnet/main.tf Adds s3_export flag and prom2parquet_image configuration to enable S3 metrics export for the testnet environment
infra/modules/service/main.tf Refactors variable schema and task definition to support multiple containers per service, updates port handling and container definition logic
infra/modules/node-operator/main.tf Adds S3 export configuration variables, updates all service modules (db, node, prometheus, grafana) to use new containers structure, adds prom2parquet sidecar to prometheus when S3 export is enabled

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@xDarksome xDarksome marked this pull request as draft January 7, 2026 14:38
@xDarksome
Copy link
Member Author

@claude review

@claude
Copy link

claude bot commented Jan 9, 2026

Claude encountered an error —— View job


I'll analyze this and get back to you.

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.

2 participants