This is an implementation of the SCI computation with providers for the different components of the calculation. It exposes a new actuator endpoint /actuator/carbon/sci that pulls energy consumed, marginal emissions, and emboddied emissions and produces the SCI score.
At the moment, the implementation providers are:
a MarginalEmissionsProvider coming from the carbon-aware-sdk client already present in the project
a EmboddiedEmissionsProvider that pulls from the application properties or defaults to 0.0 (to ignore emboddied emissions or assume the hardware is carbon neutral)
an EnergyConsumptionProvider that provides a random value. This is intended to work towards a energy consumption value based on CPU+Memorry usage.
Work in Progress
This is an implementation of the SCI computation with providers for the different components of the calculation. It exposes a new actuator endpoint
/actuator/carbon/sci
that pulls energy consumed, marginal emissions, and emboddied emissions and produces the SCI score.At the moment, the implementation providers are: