fvaleye / tracarbon

🌍 Tracarbon tracks your device's energy consumption and calculates your carbon emissions using your location.

Home Page:https://fvaleye.github.io/tracarbon/documentation/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Application-level tracking

fatma-laribi opened this issue · comments

Hello,
Is it possible for Tracarbon to track only my application's power consumption and carbon footprint or does it always measure the whole machine's power?
What if I have a container? Does that mean that if I have an application in that container, it will give me metrics only for my app?

Hello @fatma-laribi 👋,

Thank you for your message!

Tracarbon only tracks energy consumption and the associated carbon emissions of the whole machine.
Depending on the machine's OSS (based on Linux with RAPL, for example), tracking the energy consumption at the process level could be feasible. You could submit a new feature request for it!

Deployed with the provided chart on a Kubernetes cluster (with the metrics API activated on Kubernetes), Tracarbon tracks each container's energy consumption and associated carbon emissions. So if your application is running alone inside a container, you will be able to see your application's energy consumption and carbon emission.

Side notes: Same as the standalone application, Tracarbon supports:

  • AWS with EC2 instances with or without Kubernetes containers
  • Cloud infrastructure supporting Intel processors providing RAPL interfaces.