opentelemetry-specification icon indicating copy to clipboard operation
opentelemetry-specification copied to clipboard

Add sustainability metrics and attributes to semantic conventions for hardware metrics

Open bertysentry opened this issue 1 year ago • 8 comments

Use Case

We need to be able to report the carbon footprint of servers, network, storage, applications, and services. To allow that across the entire infrastructure, semantic conventions are required, starting with the underlying physical infrastructure.

Specifications

In addition to hw.power and hw.energy, add metrics to semantic conventions for hardware metrics, like:

  • hw.abiotic_depletion_potential
  • hw.product_carbon_footprint

Define a Site entity, i.e. a physical location with specific properties that can be measured with metrics like:

  • hw.site.pue (more)
  • hw.site.itue, hw.site.tue (more)
  • hw.site.cue (more)
  • hw.site.wue
  • hw.site.ere, hw.site.erf (more)
  • hw.site.ref, hw.site.oef (more)
  • hw.site.cer (more)
  • hw.site.electricity_cost
  • hw.site.carbon_intensity

Additional context

More examples and links can be found in various places, but Green Software Foundation's Awesome Green Software is a good reference to start with, as well as its Hardware Efficiency page.

bertysentry avatar Mar 27 '23 17:03 bertysentry