Skip to content

Real Data Collection

EcoGuard can run against live GitLab and carbon-intensity data instead of static examples.

Collection pipeline

  1. Read the current GitLab project and pipeline history.
  2. Pull current carbon intensity from Electricity Maps.
  3. Estimate energy usage from job duration and stage profile.
  4. Compute emissions and summary scores.
  5. Write dashboard JSON files.

Main entry point

Output locations

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.

EcoGuard sustainability documentation