-
Notifications
You must be signed in to change notification settings - Fork 4
feat(infra): export prometheus metrics to s3 #310
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
base: main
Are you sure you want to change the base?
Conversation
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 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.
|
@claude review |
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
Description
How Has This Been Tested?
Due Diligence