mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #5723] [Feature]: Observatory metrics UI update #3982
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#3982
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 @beevar-u on GitHub (Jul 1, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5723
Is your feature request related to a problem?
Currently User have to select outbound tag by tag in observatory metrics panel to view latency history for all outbounds.
Describe the solution you'd like
I think it will be usefull to make an option to display all outbounds data on one chart.
I understood that with 10+ outbounds it may be useless or hard to understood graphs, but this can be solved by filters or multy-select option or something similar..
Alternatives you've considered
No response
Concrete use case
No response
Mockups, screenshots, or examples
No response
Which parts of the panel would this affect?
No response
Are you willing to help?
Before submitting
@github-actions[bot] commented on GitHub (Jul 1, 2026):
Confirmed this is not currently supported, based on the code.
The Observatory tab in the metrics modal (
frontend/src/pages/index/XrayMetricsModal.tsx) only lets you pick one outbound tag at a time via a single-select dropdown (obs-select), then renders one latency history chart for it, fetched fromGET /panel/api/server/xrayObservatoryHistory/:tag/:bucket.On the backend (
internal/web/service/xray_metrics.go), each outbound's delay history is stored and aggregated independently per tag (xrObs.<tag>.delay, seeAggregateObservatory). There is no endpoint today that returns multiple tags' history in a single response — only one tag per request.Interestingly, the shared chart component (
frontend/src/components/viz/Sparkline.tsx) already supports overlaying up to 3 series with a legend (data/data2/data3props), but the Observatory pane doesn't use that capability — it only ever feeds a single series. So a combined view is partially enabled at the charting layer already; it would need:Sparklinecomponent's series limit extended beyond 3, since with 10+ outbounds (as you noted) a fixed 3-series cap wouldn't be enough — some kind of filtering or grouping would be needed for larger outbound counts.This looks like a reasonable, scoped enhancement to the existing Observatory UI rather than a new subsystem. Labeling as a feature request; if you'd like to attempt a PR, the two relevant files are the ones listed above.
This reply was generated automatically and a maintainer may follow up.