5 Commits

Author SHA1 Message Date
Andrey Smirnov
468e318ba4
fix: multiple fixes for dashboard/no data
There were multiple issues:

* `hostname` in the header is coming from resources, and the one in API
  data was unused
* we should update to `n/a` if the value is not available
* if the node is unavailable, the response contains a message with
  placeholders with a proxy error, and that should be honored to ignore
  the response; if instead we use it as it is, it puts zero value, which
  results in funny output.

Fixes #10383

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-02-25 18:43:18 +04:00
Andrey Smirnov
84fcc976f8
fix: yet another dashboard panic
Fixes #10088

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-01-09 15:58:01 +04:00
Nico Berlee
11380f933d
feat: display current CPU frequency on dashboard
Dashboard now shows the active frequency of each CPU core when cpufreq
is available on non-virtualized systems, enhancing real-time accuracy.

Solves the issue of displaying 0MHz on certain SBCs due to
/proc/cpuinfo limitations.

Signed-off-by: Nico Berlee <nico.berlee@on2it.net>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-08 12:05:48 +04:00
Andrey Smirnov
a52d3cda3b
chore: update gen and COSI runtime
No actual changes, adapting to use new APIs.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-09-22 12:13:13 +04:00
Utku Ozdemir
2dd0964c5f
refactor: use resource watches on dashboard
Instead of doing excessive get/list requests, do a watch per node in an infinite retry.

Additionally, refactor the dashboard code to make the various data listener namings more consistent and reorganize the packages.

Closes siderolabs/talos#6960.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2023-03-17 23:06:35 +01:00