wasmCloud / lattice-observer

A reusable Elixir library for monitoring a lattice and deriving observed state
https://wasmcloud.com
Apache License 2.0
3 stars 2 forks source link

[FEAT] Add host uptime to observed host object #17

Closed brooksmtownsend closed 1 year ago

brooksmtownsend commented 2 years ago

Right now, the event processor uses the timestamp of the first host heartbeat to record the first_seen value of a host. This can differ wildly depending on when the host started and when the lattice observer discovered it. In addition to tracking these values, it would be valuable to know the absolute uptime for the host.

This will also require adding the uptime to the host heartbeat in the wasmcloud-otp repo.

References

(cc @autodidaddict for thoughts)

connorsmith256 commented 1 year ago

Resolved by https://github.com/wasmCloud/lattice-observer/pull/29