joular / joularjx

JoularJX is a Java-based agent for software power monitoring at the source code level.
https://www.noureddine.org/research/joular/joularjx
GNU General Public License v3.0
76 stars 17 forks source link

Capture energy readings from a Spring Boot application #82

Open jgoldverg opened 3 days ago

jgoldverg commented 3 days ago

Hello All, This question is compounded in a couple of ways that I was hoping to get clarified:

  1. We currently use InfluxDB to capture live metrics from our spring boot application. Is there any possibility to incorporate the readings from JoularJx into our measurements logic?

  2. Is there anyway to view the readings from joularJx using Java reflection since its in the same JVM memory space?

The reason for these questions is as follows: my platform is completely Java based(Spring framework) and we were hoping to incorporate the energy readings from joularjx into a Grafana like dashboard (backed by InfluxDB). This way we can view energy consumption of workloads throughout our deployment as the micro-services are running.

adelnoureddine commented 11 hours ago

Hi @jgoldverg,

Currently, JoularJX exports its data to files on runtime, but the agent can be modified to export or send the data somewhere else. We do have a project plan to create connector to popular frameworks and dashboard, such as Grafana and Prometheus, but any help in this is welcome. We also are aiming to modularize JoularJX in order to allow easier integration in existing workflows and tools.

Bests.