nerves-hub / nerves_hub_web

Manage firmware updates for Nerves devices
https://nerves-hub.org/
Apache License 2.0
184 stars 69 forks source link

Devices for metrics and health #1341

Closed lawik closed 2 months ago

lawik commented 3 months ago

The start of Device health reporting!

This adds Load avg, memory use, and CPU temp to the Device show page. The data we receive, and store, from the device is a lot more complete, but we have kept it simple for now.

A few bullet points:

https://github.com/nerves-hub/nerves_hub_web/assets/8701/c1217367-41ba-4d6d-a5a1-485229bd43f7

lawik commented 3 months ago

fyi @joshk

I want to test it with poser and a real device, it still needs some tests.

I think exposing it in UI can happen separately unless I get frisky :D

lawik commented 2 months ago

Devices detail view:

Screenshot 2024-07-08 at 15 53 25
joshk commented 2 months ago

Devices detail view:

Screenshot 2024-07-08 at 15 53 25

🔥 🔥 🔥

this is so awesome!!!

joshk commented 2 months ago

I think before we merge this in there needs to be a way to disable health reporting. I can add that tomorrow.

Done.