mirror of
https://github.com/hansjone/netx.git
synced 2026-10-11 08:00:49 +08:00
Add dark workbench dashboard with host CPU/memory gauges.
Sample Windows CPU via Processor Utility so values match Task Manager, and expose host metrics on /v1/metrics/json for the workbench poll. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
8ded8eeb7d
commit
254c50a2c0
12 changed files with 1286 additions and 83 deletions
|
|
@ -14,6 +14,10 @@ export default defineConfig({
|
|||
// Keep Origin aligned with upstream for WS handshake through proxy.
|
||||
rewriteWsOrigin: true,
|
||||
},
|
||||
"/metrics": {
|
||||
target: "http://127.0.0.1:8890",
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue