Real Data Collection
EcoGuard can run against live GitLab and carbon-intensity data instead of static examples.
Collection pipeline
- Read the current GitLab project and pipeline history.
- Pull current carbon intensity from Electricity Maps.
- Estimate energy usage from job duration and stage profile.
- Compute emissions and summary scores.
- Write dashboard JSON files.
Main entry point
Output locations
- dashboards/data
- public/api when deployed through Pages
Refresh expectations
- Scheduled jobs update the data automatically.
- Manual runs are useful for testing changes locally.
- The dashboard should always read the newest JSON files.