Add percent of memory utilization as part of local stats

This commit is contained in:
Ben Meadors 2025-05-14 06:10:32 -05:00
parent 816595c8bb
commit f1e2178fc8
2 changed files with 7 additions and 0 deletions

View file

@ -7,6 +7,7 @@
*LocalStats.num_online_nodes int_size:16
*LocalStats.num_total_nodes int_size:16
*LocalStats.percent_memory_utilization int_size:8
*HealthMetrics.heart_bpm int_size:8
*HealthMetrics.spO2 int_size:8

View file

@ -318,6 +318,12 @@ message LocalStats {
* This will always be zero for ROUTERs/REPEATERs. If this number is high, some other node(s) is/are relaying faster than you.
*/
uint32 num_tx_relay_canceled = 11;
/*
* Percent of memory utilization (0-100)
* This is based on the native heap free / totals in the SDK
*/
uint32 percent_memory_utilization = 12;
}
/*