Title: metrics: uplink online state and switch stats missing since v0.11 · Issue #355 · jangala-dev/devicecode-lua · GitHub
Open Graph Title: metrics: uplink online state and switch stats missing since v0.11 · Issue #355 · jangala-dev/devicecode-lua
X Title: metrics: uplink online state and switch stats missing since v0.11 · Issue #355 · jangala-dev/devicecode-lua
Description: Summary BigBox telemetry that existed before v0.11 and isn't covered by #329: Uplink state: net.{wan,wwan,wwanb} is_online and curr_uptime (v0.9.0: is_online on 17/17 boxes). Nothing on dev produces them, so there's no cloud signal for w...
Open Graph Description: Summary BigBox telemetry that existed before v0.11 and isn't covered by #329: Uplink state: net.{wan,wwan,wwanb} is_online and curr_uptime (v0.9.0: is_online on 17/17 boxes). Nothing on dev produce...
X Description: Summary BigBox telemetry that existed before v0.11 and isn't covered by #329: Uplink state: net.{wan,wwan,wwanb} is_online and curr_uptime (v0.9.0: is_online on 17/17 boxes). Nothing on dev pro...
Opengraph URL: https://github.com/jangala-dev/devicecode-lua/issues/355
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"metrics: uplink online state and switch stats missing since v0.11","articleBody":"## Summary\n\nBigBox telemetry that existed before v0.11 and isn't covered by #329:\n\n- **Uplink state:** `net.{wan,wwan,wwanb}` `is_online` and `curr_uptime` (v0.9.0: `is_online` on 17/17 boxes). Nothing on `dev` produces them, so there's no cloud signal for whether an uplink is up.\n- **Switch system stats:** `switch.system` cpu, mem, temp and power (cm v0.10.6: 100%). The HAL keeps these as internal state ([provider_runner.lua#L109-L114](https://github.com/jangala-dev/devicecode-lua/blob/a9691b9e2e6d43bf8631b0ab08bdbbe14fa6674b/src/services/hal/managers/wired/provider_runner.lua#L109-L114)), but nothing exports them.\n- **Wired surface counters:** these are published on a 6-token topic ([wired/topics.lua#L18](https://github.com/jangala-dev/devicecode-lua/blob/a9691b9e2e6d43bf8631b0ab08bdbbe14fa6674b/src/services/wired/topics.lua#L18)), which the 5-token `obs/v1/+/metric/+` subscription in `metrics.lua` doesn't match.\n\nSource: BigBox fleet audit, 20 Oct 2026. All three are present on v0.9.0/v0.10.6 and gone on v0.11.3.\n\n## Fix\n\n- Publish uplink online state and uptime as metrics.\n- Export the switch runtime values.\n- Fold the surface id into the metric name, so the counters match the 5-token subscription.\n","author":{"url":"https://github.com/cpunt","@type":"Person","name":"cpunt"},"datePublished":"2026-10-29T15:04:02Z","url":"https://github.com/jangala-dev/devicecode-lua/issues/355"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:40de9865-9360-2861-1ad9-b7efdab0891e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E4E8:47805:160DD3C:1D3680A:6AF89A9F |
| html-safe-nonce | e63a90f431261c47aca02275f957f6f15642deef2e724a0a64c12637ac8563c0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEU4OjQ3ODA1OjE2MEREM0M6MUQzNjgwQTo2QUY4OUE5RiIsInZpc2l0b3JfaWQiOiI3OTMxNTE0NjQyNzM0MDI5NDcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fe033f984e8d028105331b59ffbb24c6d6755665c26f245ffcd71cc34c9e933b |
| hovercard-subject-tag | issue:6102500241 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/jangala-dev/devicecode-lua/355/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e3a7bc9354cd858abbe25489ba2c466b83991d2feb4a3229c4f8820839253d4e/jangala-dev/devicecode-lua/issues/355 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e3a7bc9354cd858abbe25489ba2c466b83991d2feb4a3229c4f8820839253d4e/jangala-dev/devicecode-lua/issues/355 |
| og:image:alt | Summary BigBox telemetry that existed before v0.11 and isn't covered by #329: Uplink state: net.{wan,wwan,wwanb} is_online and curr_uptime (v0.9.0: is_online on 17/17 boxes). Nothing on dev produce... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cpunt |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| go-import | github.com/jangala-dev/devicecode-lua git https://github.com/jangala-dev/devicecode-lua.git |
| octolytics-dimension-user_id | 44901909 |
| octolytics-dimension-user_login | jangala-dev |
| octolytics-dimension-repository_id | 814022112 |
| octolytics-dimension-repository_nwo | jangala-dev/devicecode-lua |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 814022112 |
| octolytics-dimension-repository_network_root_nwo | jangala-dev/devicecode-lua |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width