mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4356] [Engine] opt-in: let the share listener also offer engine stats, so external monitors can watch a native instance #1926
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1926
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @msalsas on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4356
What do you want to do?
Watch a native instance served from the desktop app from another machine, without hacks.
The shared port today shows answers only. A third-party diagnostic tool can send prompts and time them end to end, but it cannot see the prefill/decode split, the queue or VRAM — the things the app's own Monitor paints. That data already lives in the host (
apps/host/server/monitor.mjs, the snapshot the Monitor renders); it just has no door on the share listener.Proposal: an opt-in setting that adds a read-only stats endpoint (e.g.
GET /metricson the share listener, shaped like the serve/ server's metrics or a JSON snapshot) fed from that same monitor snapshot, gated by the same API key as/v1/*, off by default.I've read the "sharing is inference only" stance in SECURITY.md and the reasoning in #3208, so the ask is deliberately an explicit opt-in, not a wider silent allow-list. #3931 hits the same listener from the models side; this is its stats side.
Environment where I want it: Windows app 0.2.6, engine 0.1.50, native shared instance (Qwen3.8-Flash-Next IQ3_S, 16 GB card), the watcher on a different box over Tailscale.
What do you do today instead?
On the Terminal path,
strata launchruns the serve/ server, which already carries/propsand/metrics, and watching from another machine works. On the desktop app's native path there is no such door, so the workaround is timing/v1calls and guessing where the seconds go — which is exactly what a diagnostic tool is supposed to avoid. On Windows the desktop app is how most people serve, so for them the workaround loses the monitor entirely.@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.