Skip to content

Choose a tag to compare

@jnioche jnioche released this 05 Nov 16:11
· 18 commits to main since this release

Highlights

  • Carbon intensity from WattTime at the time of usage (#302). The new watttime modules (aws.WattTimeCarbonIntensity and azure.WattTimeCarbonIntensity) set carbon_intensity to the average operating emissions rate published by WattTime for the grid region of each cloud region, averaged over the usage period of the line item. They read the FOCUS, CUR and Azure date columns, and need a WattTime account (WATTTIME_USERNAME and WATTTIME_PASSWORD). Line items that WattTime does not cover keep their previous value. See modules.md for the scope and configuration.
  • BoaviztAPI 2.6.0 (#312). The bundled AWS and Azure impact files have been regenerated with BoaviztAPI 2.6.0, which estimates the electricity used by GPUs.
  • Ember data refresh (#310). The carbon intensity scripts have been ported to Ember's new releases and the bundled ember_co2_intensity.csv and NESO monthly figures refreshed. Ember rebuilt its US sub-national dataset and moved it from CO2 to CO2 equivalent, so figures for US regions shift by around 15% with no change in SPRUCE itself.

Breaking changes

  • The Accelerators module has been removed (#313). BoaviztAPI 2.6.0 now covers GPU electricity, so the CCF based module, its data file and the two comparison scripts are gone. Custom configurations that reference it need to drop that entry.

Performance

  • Enriched rows are materialised by cloning the row's backing array instead of copying field by field, which cuts that step by about a third (#307).
  • The Boavizta impacts CSV is parsed once per JVM rather than once per Spark task (#308).

New features

  • SparkJob has a new -m / --metrics option which reports how long each enrichment module spent on rows, logged as a table at the end of the job and visible in the Spark UI accumulators while it runs (#305). Without the flag, a run is unaffected.

Tooling

  • New script retrieving both current and discontinued EC2 instance types from the price list catalogue, the per region offerings and the 2015 to 2017 public price lists. It feeds the Boavizta APITester, which now sees 1436 types instead of 1388 (#309).
  • The APITester sorts its output before writing it, so regenerated files produce readable diffs.

Other

  • New talk resource: SPRUCE at Glasgow 2026.
  • Bumped actions/setup-java from 6.0.1 to 6.1.0 (#304).
  • .gitignore tidied up.

Full changelog: 1.4...1.5