summaryrefslogtreecommitdiff
path: root/opendc-compute/opendc-compute-service/src
diff options
context:
space:
mode:
authorDante Niewenhuis <d.niewenhuis@hotmail.com>2024-02-14 11:52:32 +0100
committerGitHub <noreply@github.com>2024-02-14 11:52:32 +0100
commit10c47102d6133b86e4c39df96fd25a91010a9864 (patch)
treee422986118d2475add6677bc1e7bd8ed1913ceb9 /opendc-compute/opendc-compute-service/src
parent616017ba78a0882fe38b9b171b2b0f68e593cd8d (diff)
Updated metrics and parquet output (#195)
* Updated metrics and parquet output * fixed typos
Diffstat (limited to 'opendc-compute/opendc-compute-service/src')
-rw-r--r--opendc-compute/opendc-compute-service/src/main/java/org/opendc/compute/service/driver/telemetry/HostSystemStats.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/opendc-compute/opendc-compute-service/src/main/java/org/opendc/compute/service/driver/telemetry/HostSystemStats.java b/opendc-compute/opendc-compute-service/src/main/java/org/opendc/compute/service/driver/telemetry/HostSystemStats.java
index c0928f1b..d9dba274 100644
--- a/opendc-compute/opendc-compute-service/src/main/java/org/opendc/compute/service/driver/telemetry/HostSystemStats.java
+++ b/opendc-compute/opendc-compute-service/src/main/java/org/opendc/compute/service/driver/telemetry/HostSystemStats.java
@@ -31,7 +31,7 @@ import java.time.Instant;
* @param uptime The cumulative uptime of the host since last boot (in ms).
* @param downtime The cumulative downtime of the host since last boot (in ms).
* @param bootTime The time at which the server started.
- * @param powerUsage Instantaneous power usage of the system (in W).
+ * @param powerDraw Instantaneous power draw of the system (in W).
* @param energyUsage The cumulative energy usage of the system (in J).
* @param guestsTerminated The number of guests that are in a terminated state.
* @param guestsRunning The number of guests that are in a running state.
@@ -42,7 +42,7 @@ public record HostSystemStats(
Duration uptime,
Duration downtime,
Instant bootTime,
- double powerUsage,
+ double powerDraw,
double energyUsage,
int guestsTerminated,
int guestsRunning,