diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-10-13 15:42:41 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-10-25 17:58:53 +0200 |
| commit | f565afb1ef7b940804af62aa73b6859dcb78a847 (patch) | |
| tree | 37bb2985c25e944939fb954026f8e816ec18bfe3 /opendc-compute/opendc-compute-simulator | |
| parent | e76bebe9e81c3813422da6d67fbab7d9f471a317 (diff) | |
feat(telemetry): Report provisioning time of virtual machines
This change adds support for collecting the provisioning time of virtual
machines in addition to their boot time.
Diffstat (limited to 'opendc-compute/opendc-compute-simulator')
| -rw-r--r-- | opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/internal/Guest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/internal/Guest.kt b/opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/internal/Guest.kt index 5ea1860d..61b3214e 100644 --- a/opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/internal/Guest.kt +++ b/opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/internal/Guest.kt @@ -248,7 +248,7 @@ internal class Guest( */ fun collectBootTime(result: ObservableLongMeasurement) { if (_bootTime != Long.MIN_VALUE) { - result.observe(_bootTime) + result.observe(_bootTime, attributes) } } |
