Refactor systemd boot time collection
This commit refactor the logic here so that it's more clear and restrict
systemd time to current bmc node only instead of broadcasting to all bmc
nodes.
In addition, this commit avoids overwriting the checkpoints by only
systemd checkpoints multiple times at boot or service restart.
Lastly, this commit also merges FirmwarePlusLoader into firmware time
so that we don't diverge in the SLO metric naming.
Test result:
Power cycle the machine and restart the service manually.
https://paste.googleplex.com/5958365410492416?raw
Google-Bug-Id: 386135751
Google-Bug-Id: 386135750
Change-Id: I1b57eddc3110793e6b76f8c7aac68c4b866c5979
Signed-off-by: Medicine Yeh <medicineyeh@google.com>
3 files changed