Šimon Brandner
57e79862a5
User ID -> Username
...
Co-authored-by: Robin <robin@robin.town>
2023-05-05 19:18:34 +02:00
Šimon Brandner
93a47e7009
Fix casing
...
Co-authored-by: Robin <robin@robin.town>
2023-05-05 19:17:59 +02:00
Šimon Brandner
d4f0300c82
Match designs
...
Co-authored-by: Robin <robin@robin.town>
2023-05-05 19:17:49 +02:00
Šimon Brandner
0269753f59
Settings improvements
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-05-05 11:44:35 +02:00
David Baker
515e00b763
Merge pull request #1030 from vector-im/dbkr/include_org_matrix_call
...
Include org.matrix.call events in sent events for OTel
2023-04-28 09:11:18 +01:00
David Baker
403ee79d61
Include org.matrix.call events in sent events for OTel
2023-04-27 18:01:40 +01:00
Timo K
ecf5f9916c
otel read through code
2023-04-27 14:00:40 +02:00
Enrico Schwendig
e3a3859739
Make webrtc stats configurable ( #1019 )
...
* stats: make webrtc stats configurable
2023-04-27 09:30:34 +02:00
David Baker
ecc3693c47
Remove accidental log line
2023-04-25 10:32:36 +01:00
David Baker
7153ead8cb
Remove the console exporter
...
I'm not sure how this got left in, presumably it was not intended.
2023-04-24 19:52:56 +01:00
David Baker
32476571fb
End spans when calls are replaced by a different call
2023-04-24 17:57:05 +01:00
David Baker
060a50d27a
Merge pull request #1020 from vector-im/dbkr/rageshake_processor_event_name
...
Add the event name to the rageshake span processor export
2023-04-21 10:24:31 +01:00
David Baker
4459eaeb9d
Fix audio mute on window blur
...
https://github.com/vector-im/element-call/pull/1015/files missed a
change of spacebarHeld to a ref.
2023-04-21 10:18:43 +01:00
David Baker
f5e2161a9e
Add the event name to the rageshake span processor export
2023-04-20 17:18:06 +01:00
Robin
8437e263af
Merge pull request #1013 from robintown/controls-overlay
...
Keep inspector from covering call buttons
2023-04-20 10:45:36 -04:00
Robin
4719a92ffc
Merge pull request #1015 from robintown/shortcut-focus
...
Make keyboard shortcuts accessible by default
2023-04-20 10:45:11 -04:00
David Baker
d1aa34b2e0
Use the native ResizeObserver where available
...
My dev env suddenly, with no apparent prompt, went into a mode where
it wouldn't display nay video tiles which was because they were 0x0
in the top left corner, which in turn was because the ResizeObserver
was never returning the actual bounds of the video tile container.
As per comment, this uses the native impl in preference to the ponyfill,
although in practice it looks like all our target browsers should support
it, so perhaps we could just remove the ponyfill entirely.
2023-04-20 13:39:25 +01:00
Robin Townsend
4114622d44
Remove the keyboard shortcut setting
2023-04-19 16:15:38 -04:00
Robin Townsend
6f13989819
Fix lint errors
2023-04-19 15:55:55 -04:00
Robin Townsend
1184b71396
Format with Prettier
2023-04-19 15:54:39 -04:00
Robin Townsend
56bd54a645
Disable keyboard shortcuts when focus is in a modal
2023-04-19 15:51:44 -04:00
Robin Townsend
18fa1371d3
Use a ref for spacebarHeld
...
because we can and it means fewer renders
2023-04-19 15:17:32 -04:00
Robin Townsend
6ad4663508
Keep inspector from covering call buttons
2023-04-19 14:43:37 -04:00
Robin Townsend
3c7f01a510
Make audio activity border match the tile border radius
2023-04-19 10:24:47 -04:00
David Baker
8eafb1ae4a
Merge pull request #1005 from robintown/parallel-calls
...
Detect split-brains caused by parallel calls
2023-04-18 17:29:23 +01:00
Enrico Schwendig
3da4b4eeef
Add jitter and packet loss info in summary report ( #1006 )
...
* stats: add jitter and packet loss
2023-04-18 15:20:06 +02:00
David Baker
0de1aa74ee
Use microseconds in the rageshake exporter
...
Fixes times being off by a factor of 1000
2023-04-18 12:48:34 +01:00
Robin Townsend
838137c83b
Detect split-brains caused by parallel calls
...
This is another KPI for PostHog.
2023-04-17 16:58:51 -04:00
David Baker
9442b314b2
Fix PostHog in embedded mode
...
Embedded mode has a differtent path to join the call and we missed
changing the groupCall.enter() function for the wrapper that does
analytics.
2023-04-17 18:47:46 +01:00
Robin
7221b7c3a2
Merge pull request #998 from robintown/rageshake-processor
...
Include unended spans in rageshakes
2023-04-14 11:55:16 -04:00
Robin Townsend
da7760d7ab
Send rejoin events to PostHog in realtime
...
By converting PosthogSpanExporter to a SpanProcessor just like the RageshakeSpanProcessor, it can now monitor spans in realtime as they are started.
2023-04-12 18:14:59 -04:00
Robin Townsend
a17ffcc327
Include unended spans in rageshakes
...
By turning the RageshakeSpanExporter into a SpanProcessor, it can now be notified of spans as soon as they're started.
2023-04-12 17:12:02 -04:00
Robin Townsend
0637804d61
Fix a crash when adding call events to telemetry
...
Since typeof null is 'object', the flattenVoipEventRecursive function was mistakenly casting nulls to Record<string, unknown> in its typeof v === "object" case, causing Object.entries to explode.
2023-04-11 23:05:37 -04:00
Robin
a2b3e098b6
Merge pull request #995 from robintown/rageshake-traces
...
Include OpenTelemetry traces in rageshakes
2023-04-11 16:24:09 -04:00
Enrico Schwendig
e2293665f9
Add posthog event for summary report ( #992 )
...
* stats: add posthog event for summary report
* stats: remove console log
2023-04-11 09:06:13 +02:00
Robin Townsend
95eca18207
Include OpenTelemetry traces in rageshakes
2023-04-11 01:13:19 -04:00
Enrico Schwendig
bb5c382fd0
separate summary report from stats report ( #986 )
...
* stats: separate summary report from stats report
* stats: switch to last summery stats builder
* stats: update matrix-js-sdk
2023-04-06 13:19:39 +02:00
David Baker
dd1485a277
Merge pull request #988 from vector-im/dbkr/enable_otel_by_collector
...
Allow different OpenTelemetry collectors to be enabled/disabled
2023-04-05 20:05:41 +01:00
David Baker
caea22fa89
Remove the recheck callback since it isn't necessary for now
2023-04-05 19:00:07 +01:00
David Baker
88f3b30040
Allow different OpenTelemetry collectors to be enabled/disabled
...
Always enable OpenTelemetry, but conditionally enable the OTLP
exporter, as per comment.
Fixes https://github.com/vector-im/element-call/issues/987
2023-04-05 18:21:29 +01:00
Robin Townsend
928f1c1d6f
Address review feedback
2023-04-05 12:56:50 -04:00
Robin Townsend
711cdf9a60
Merge branch 'main' into audio-observability
2023-04-05 12:50:38 -04:00
David Baker
fec299ab20
Skip whole block if no otel instance
2023-04-05 15:11:51 +01:00
David Baker
5e4aa53997
Don't call posthog before its initialised
2023-04-05 15:00:14 +01:00
David Baker
0dcaa90650
Fix exception when loading PostHog
...
PostHog was expecting the matrix client object to be initialised at
the point it ran its setup, which wasn't the case. Check to see if it's
there on login and add an onLoginStatusChanged hook that to re-check.
Also make a few methods private that didn't need to be public.
Also fix a few instances where the OpenTelemetry group call tried to
report metrics using a tracer which didn't exist anymore, if the user
disabled analytics and then joined the same call again.
2023-04-05 13:06:55 +01:00
David Baker
b061cbfb2f
Remove the other listeners
2023-04-05 10:01:58 +01:00
David Baker
23ddd73f4f
Merge remote-tracking branch 'origin/main' into dbkr/otel_peerconn_events
2023-04-05 09:35:43 +01:00
Enrico Schwendig
390442a4c3
Add webrtc metric to OTel ( #974 )
...
* stats: Add summery report
---------
Co-authored-by: David Baker <dave@matrix.org>
2023-04-05 10:25:26 +02:00
David Baker
c824ea6f9a
Add OpenTelemetry events for PeerConnection state changes / errors
...
Creates a new class to represent individual calls and adds the listeners
there.
Requires https://github.com/matrix-org/matrix-js-sdk/pull/3251
Based on https://github.com/vector-im/element-call/pull/974
2023-04-04 18:00:45 +01:00
David Baker
28196a2e9d
Merge pull request #981 from vector-im/dbkr/call_events_to_call_span
...
Move call events to the call span
2023-04-04 17:52:41 +01:00