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

Create an initial commit version of the project #1

Closed iamdebojyoti closed 2 years ago

iamdebojyoti commented 2 years ago

Create an initial commit version of the project

  1. Create a custom spring boot starter which would be used to measure the carbon metrics.
  2. Add dependencies of spring-core to the project.
  3. Ref for custom starter: https://www.baeldung.com/spring-boot-custom-starter
  4. Add the carbon-aware-sdk to docker-compose file.
  5. Create a shell script to spawn up the entire environment

Project stack:

iamdebojyoti commented 2 years ago

@mtthwcmpbll can you please confirm, if its okay to use this project stack?

mtthwcmpbll commented 2 years ago

Yep! What do you think about refactoring this issue into something like "build a starter demo environment in Docker that runs multiple connected spring boot apps, any required dependencies, and the carbon aware sdk image". Then we'll have a solid starting point to experiment with integrating with the sdk, instrumenting different things, etc.