Closed connorsmith256 closed 1 year ago
This PR adds uptime_seconds and version to Host
uptime_seconds
version
Host
Note that hosts prior to https://github.com/wasmCloud/wasmcloud-otp/pull/548 will not include this information. In its absence we fall back to 0 seconds and v0.0.0 for the version
0
v0.0.0
~(Ignore the first commit. I included it to avoid merge conflicts after https://github.com/wasmCloud/lattice-observer/pull/28 is merged. I will rebase once that is merged)~
Force pushed after rebase. No changes
This PR adds
uptime_seconds
andversion
toHost
uptime_seconds
is useful so consumers can have an authoritative knowledge of how long a host has been running, even if the lattice observer has restarted or wasn't running when a host startedversion
resolves https://github.com/wasmCloud/lattice-observer/issues/27Note that hosts prior to https://github.com/wasmCloud/wasmcloud-otp/pull/548 will not include this information. In its absence we fall back to
0
seconds andv0.0.0
for the version~(Ignore the first commit. I included it to avoid merge conflicts after https://github.com/wasmCloud/lattice-observer/pull/28 is merged. I will rebase once that is merged)~