Commit Graph

19 Commits

Author SHA1 Message Date
Paulo Lanzarin
dca9b87190
fix(connection-status): packet loss causes false positive critical alerts (#21049)
In 3.0, the packet loss metric used to trigger connection status alerts was
changed to the one generated by the `startMonitoringNetwork` method used by the
connection status modal. Since packet loss thresholds were not adjusted (0.5,
0.1, 0.2), a single lost packet causes the status alert to be permanently
stuck on "critical". This is explained by how different those metrics
are:
  - **Before (2.7):** A 5-probe wide calculation of inbound packet loss
  fraction based on `packetsLost` and `packetsReceived` metrics.
  - **Now (3.0):** An absolute counter of inbound lost packets.

This commit restores the previous packet loss metric used to trigger
connection status alerts, reverting to the original collection method via
`/utils/stats.js`. This resolves the issue, but further work is needed in
subsequent PRs:
  - Unify the collection done in `/utils/stats.js` with the
  `startMonitoringNetwork` method.
  - Incorporate the remote-inbound `fractionsLost` metric to account for packet
  loss on both legs of the network (in/out).
  - Update the packet loss metric displayed in the connection status modal to
 show a more meaningful value (e.g., packet loss percentage over a specific
  probe interval). An absolute counter of lost packets isn't useful for end
  users.
  - Update the alert log to use the fraction or percentage above
2024-08-28 16:55:57 -04:00
Gustavo Trott
af06562e02 Introduce flag currentlyInMeeting (replacing isOnline) 2024-08-28 11:08:30 -03:00
Tainan Felipe
ba32e21c0f
Add: Local history of rtt status changes (#20983)
* Change: Add local history of rtt status changes
2024-08-21 10:05:37 -03:00
Tainan Felipe
415d4ad5e1 Remove: rtt precision 2024-08-14 16:52:11 -03:00
Tainan Felipe
6789b69f62 Fix: error undefined in the cosole error 2024-08-14 16:37:37 -03:00
Tainan Felipe
78608dfb51 fix: decrease precision of the rtt 2024-08-14 11:54:46 -03:00
João Victor
8b4a2f39e0 fix(webcam): turn useGetStats hook into a service method to avoid function re-instantiation 2024-07-30 10:20:18 -03:00
João Victor Nunes
b0498d29b2
fix(webcam): a couple of pagination fixes, improvements, et al. (#20720) 2024-07-19 08:52:55 -04:00
João Victor Nunes
f505f11f5a
fix(connection-status): stop RTT calculation on meeting end (#20708) 2024-07-17 11:37:04 -03:00
Tainan Felipe
284fed2137 Add: base url util for api 2024-07-08 14:14:30 -03:00
Tainan Felipe
0e7fe3c688
Change: improve client connection status (#20630) 2024-07-04 17:26:09 -03:00
Ramón Souza
7514066fc3
fix: Client can't load in certain cases (#20336)
* move settings

* remove meteor cache files
2024-05-29 09:26:11 -04:00
Gustavo Trott
97dc51e8c3 Simplify user connection status flow 2024-04-01 09:36:28 -03:00
João Victor
5f7164203a fix(connection status): prevent mutation from running several times 2024-03-12 11:10:59 -03:00
André Castro
58a0efe708
Migrate auth and settings to graphQL (#19507) 2024-03-06 14:28:18 -03:00
Gustavo Trott
220e86b9f5 Refactor client to use new actions to update client status and remove old way 2024-03-05 19:33:31 -03:00
Gustavo Trott
b9e51e3163 Introduce networkRttInMs and applicationRttInMs 2024-01-25 12:27:53 -03:00
Ramón Souza
78fff583fd remove connection-status collection 2023-12-05 17:33:53 -03:00
Ramón Souza
7e8eb923de migrate connection status to use graphql 2023-12-05 11:18:45 -03:00