Commit Graph

2598 Commits

Author SHA1 Message Date
Herbert Wolverson
e62e0acdc9 Tree view supports max-depth support, persisted in the browser. 2024-07-09 21:27:55 -05:00
Herbert Wolverson
453f004ea4 Start using throughput and RTT markers on dashlets. 2024-07-09 21:19:49 -05:00
Herbert Wolverson
36fb801d61 Now that we've ascertained the problems weren't from cadence, switch the tree data back to the fast ticker. 2024-07-09 20:44:07 -05:00
Herbert Wolverson
82d2734d3f Fix for empty tree. 2024-07-09 20:42:51 -05:00
Herbert Wolverson
1a04dd646c Move the updates into a new structure (cloned), and then copied back when complete. This ensures that valid data is always visible. 2024-07-09 15:59:42 -05:00
Herbert Wolverson
360d82a22d Remove the "busy" flag and atomic_wait that didn't work out. 2024-07-09 15:30:39 -05:00
Herbert Wolverson
78b5cfeea7 Small refactor to break up the large network_json module, and adopt the newer module filename/directory system. 2024-07-09 15:28:36 -05:00
Herbert Wolverson
0af3ab3b72 Undoes the cadence "fix" - that deadlocks the UI under high load. Makes the branch safe again while we find a proper solution. 2024-07-09 15:23:20 -05:00
Herbert Wolverson
1c1fda7434 Cadence issue. Sometimes, polling the NETWORK_JSON tree would give invalid results (or all zeroes) - if the tree was in the process of being updated. This was particularly pronounced on some systems is the cadence of the refresh ticks and the update ticks aligned too well - you'd always see zeroes, or flashing to zero in network maps.
This commit adds a Futex (via the `aromic_wait`) package, and makes `nodes` private - accessible from outside only via a function that waits for the update cycle to complete.
2024-07-09 14:41:41 -05:00
Herbert Wolverson
7cf9fba83e Set 3 different tick cadences (1, 2 and 5 seconds) to reduce the weight of the heavier operations (such as browsing the whole tree), and avoid updating data that isn't updated that frequently (such as Cake stats). 2024-07-09 11:05:52 -05:00
Herbert Wolverson
35d0903224 Fix merge issue 2024-07-09 10:12:41 -05:00
Herbert Wolverson
f4bca707fb Update build_rust.sh script to be closer to develop branch, prior to rebasing. 2024-07-09 10:02:51 -05:00
Herbert Wolverson
8ce08333ba FIXES #507 - Use VERSION_STRING in setup assistant banner. 2024-07-09 09:50:39 -05:00
Herbert Wolverson
759e983a2f Merge remote-tracking branch 'refs/remotes/origin/develop' into develop 2024-07-09 09:28:33 -05:00
Herbert Wolverson
6b94e67faa ISSUE #511
Replace instant::now/subtraction with a Tokio scheduled ticker, in "skip" mode to handle time overruns.
2024-07-09 09:27:59 -05:00
Jarosław Kłopotek - INTERDUO
a5eb4b61e4
build_dpkg.sh: use requirements.txt file for installing python depend… (#510)
* build_dpkg.sh: use requirements.txt file for installing python dependancies (fix for issue #506)

* restore removed --break-system-packages by mistake
2024-07-09 09:09:42 -05:00
Herbert "TheBracket
fbefdf813e
Merge pull request #509 from interduo/patch-34
build_dpkg.sh: use VERSION_STRING file instead setting everywhere version mark
2024-07-09 09:07:01 -05:00
Herbert "TheBracket
eb592fc8d3
Merge pull request #500 from LibreQoE/post_integration_hooks
Post integration hooks for scheduler.conf
2024-07-09 09:04:57 -05:00
Herbert Wolverson
0e893cd0e5 Add a timeout to each of the periodic tick functions, with Future cancellation. Set interval behavior to "skip" rather than hammering a burst by default. 2024-07-08 16:38:06 -05:00
Herbert Wolverson
1ff24fe684 Suppress some spammed messages 2024-07-08 16:22:19 -05:00
Herbert Wolverson
9d8dea81eb Update the top of the tree view live 2024-07-08 16:18:38 -05:00
Herbert Wolverson
dff5e67261 Fix scaling error 2024-07-08 16:09:23 -05:00
Herbert Wolverson
0f759cbe5c Initial try at a tree view. Includes a few formatting options that will be useful elsewhere. 2024-07-08 15:48:22 -05:00
Herbert Wolverson
d03a4f5b19 Flow tracking indicator now shows both active and recently completed flows counts. 2024-07-08 11:37:20 -05:00
Herbert Wolverson
7982b37a8f Visual pass: add tooltips support for dashlets, and add initial tooltips for each item. Make a few colour and symbol tweaks on graphs. 2024-07-08 11:20:06 -05:00
Herbert Wolverson
8ca5b24d70 Fix the order of cake marks/drops in the tree. Add dashlet item to display total marks/drops. 2024-07-08 10:29:43 -05:00
Herbert Wolverson
53b257f25b Cleaning up debug code from the queue tracker, and including the "total stats" that we'll need. 2024-07-08 09:45:28 -05:00
Herbert Wolverson
ebb95ce82e Needs a LOT of cleaning, but marks/drops are being calculated and applied to the tree. 2024-07-07 21:45:18 -05:00
Robert Chacón
bef5dea9af
Update integrationSplynx.py 2024-07-04 08:59:29 -06:00
Herbert Wolverson
a019890b31 A great start at tracking all of the Cake queues drop/marks stats and storing them in a central structure. The plan (probably after the holiday) is to merge these into the tree stats. 2024-07-03 16:40:21 -05:00
Herbert Wolverson
e4840583a3 Shaped Devices page includes a count of devices and circuits 2024-07-03 12:43:55 -05:00
Herbert Wolverson
8d242ee2e8 Shaped Devices page is much more usable, with paging and filtering. 2024-07-03 12:31:17 -05:00
Herbert Wolverson
490c6856a0 Semi-functional placeholder for the Shaped Devices page. 2024-07-03 11:38:10 -05:00
Herbert Wolverson
a3ce3384ee Fully ported login system, including anonymous users, first user creation, login, logout and user display. 2024-07-03 11:13:52 -05:00
Herbert Wolverson
26d5250472 Fixup the Axum Router so that / correctly redirects to /index.html. Make it easy to keep adding template pages. 2024-07-03 08:55:03 -05:00
Herbert Wolverson
8eaa9c6324 Move the websocket to /websocket/ws from /ws - part 1 of cleaning up the Axum Router tree. 2024-07-03 08:41:17 -05:00
Jarosław Kłopotek - INTERDUO
425af46d88 build_dpkg.sh: use VERSION_STRING file instead setting everywhere version mark 2024-07-03 06:31:12 +00:00
Herbert Wolverson
32d821b3af Vendor echarts GL plugin 2024-07-02 16:36:05 -05:00
Herbert Wolverson
aa24d62565 Style the last-5 minutes legend. 2024-07-02 16:33:55 -05:00
Herbert Wolverson
ba34620275 Cleanup unused import 2024-07-02 16:13:21 -05:00
Herbert Wolverson
e6d75c9cd0 Include shaped device and unknown IP counts in UI2 template. 2024-07-02 16:12:39 -05:00
Herbert Wolverson
ebe7391b92 Fix filled area on 5 minute view. 2024-07-02 15:58:15 -05:00
Herbert Wolverson
699f78d2ac Track TCP retransmits up the full node tree, and display them on the tree summary panel. 2024-07-02 15:35:25 -05:00
Herbert Wolverson
91d26d315c Consistency: rename last_tcp_retransmits to prev_tcp_retransmits (since all the others use prev_ for previous). 2024-07-02 15:09:36 -05:00
Herbert Wolverson
1fac078389 Scale numbers on # flows graph (Update: fix the decimal places) 2024-07-02 15:05:57 -05:00
Herbert Wolverson
f69309f7b7 Scale numbers on # flows graph 2024-07-02 15:04:35 -05:00
Herbert Wolverson
da4df7dce8 Scale the network tree numbers 2024-07-02 15:01:40 -05:00
Herbert Wolverson
430c4030af Fix filled area on 5 minute view. 2024-07-02 14:56:58 -05:00
Herbert Wolverson
b2f6961be2 Unbreak the tree view 2024-07-02 14:36:52 -05:00
Herbert Wolverson
db0325bc2d Add simple blur redaction. 2024-07-02 14:34:01 -05:00