mtthwcmpbll / spring-boot-carbon-metrics

This repository is a project to automatically instrument a Spring Boot app with carbon-aware sustainability metrics.
Apache License 2.0
7 stars 4 forks source link

Integration with carbon-aware-sdk #2

Closed iamdebojyoti closed 1 year ago

iamdebojyoti commented 1 year ago

Carbon-aware SDK currently supports two modes of integration (https://github.com/Green-Software-Foundation/carbon-aware-sdk/blob/dev/GettingStarted.md)

  1. REST Apis
  2. CLI

For our project,

mtthwcmpbll commented 1 year ago

Yeah, I think we should plan to run our own sdk instance for demo purposes (and because enterprise environments might be more inclined to do that too). Then our metrics instrumentation will have to figure out how often to request info, what to request, and how to turn that into useful metrics we can emit ourselves.