summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-runner/src/main/kotlin
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-08-26 10:34:18 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-09-07 14:24:42 +0200
commitbefec2f1ddf3a6e6d15d9d1b9fd1ecbbc4f38960 (patch)
treecf7659f5407981ab37a55e721604aed610177eea /opendc-web/opendc-web-runner/src/main/kotlin
parent289cd3b6bc9d86b017dbb1ce6c50d346841a0ee6 (diff)
feat(capelin): Report up/downtime metrics in experiment monitor
Diffstat (limited to 'opendc-web/opendc-web-runner/src/main/kotlin')
-rw-r--r--opendc-web/opendc-web-runner/src/main/kotlin/org/opendc/web/runner/WebExperimentMonitor.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/opendc-web/opendc-web-runner/src/main/kotlin/org/opendc/web/runner/WebExperimentMonitor.kt b/opendc-web/opendc-web-runner/src/main/kotlin/org/opendc/web/runner/WebExperimentMonitor.kt
index 82e2a334..281c8dbb 100644
--- a/opendc-web/opendc-web-runner/src/main/kotlin/org/opendc/web/runner/WebExperimentMonitor.kt
+++ b/opendc-web/opendc-web-runner/src/main/kotlin/org/opendc/web/runner/WebExperimentMonitor.kt
@@ -53,6 +53,8 @@ public class WebExperimentMonitor : ExperimentMonitor {
cpuDemand: Double,
powerDraw: Double,
instanceCount: Int,
+ uptime: Long,
+ downtime: Long,
host: Host,
) {
processHostEvent(