Commit graph

1724 commits

Author SHA1 Message Date
Robin Townsend
c4f029ae4f Fix lint error 2023-03-27 22:30:12 -04:00
Robin Townsend
8978f94fe4 Add temporary config 2023-03-27 09:12:32 -04:00
David Baker
40f5c53c05 Put CORS header back to http://* with comment on why browsers are annoying 2023-03-24 09:31:52 +00:00
Robin Townsend
5f41f9476b Disable the opt in analytics setting if Posthog isn't configured 2023-03-23 13:07:34 -04:00
David Baker
d1ba5dff38 Allow all origins 2023-03-23 14:37:25 +00:00
Robin Townsend
313ebe258e Add end-to-end audio observability
This reports via OpenTelemetry when particular participants are speaking, as an easy way to observe the delivery of audio in calls.
2023-03-22 14:23:26 -04:00
Robin
71b1d0c6b1
Merge pull request #970 from robintown/matrix-widget-api
Update matrix-widget-api
2023-03-22 13:58:36 -04:00
Robin Townsend
76c0277301 Update matrix-js-sdk 2023-03-22 11:41:41 -04:00
Robin Townsend
698bea93e3 Update matrix-widget-api 2023-03-22 11:33:50 -04:00
David Baker
48493a96e1 Wait until config is loaded to load otel 2023-03-22 12:41:33 +00:00
David Baker
ec88907981 Comment the max old space workaround which seems to be working (so far) 2023-03-22 12:04:15 +00:00
David Baker
9c0adfd32e Unused import 2023-03-22 12:00:34 +00:00
David Baker
f6fb65be49 Remove odd source mapping comment & unused commented code 2023-03-22 11:58:41 +00:00
David Baker
3d6ae3fbc3 Enable/disable opentelemetry based on config/user preference
Add config to set collector URL, obey the same analytics setting as
posthog. Also refactor into a class to make it easier to manage.
2023-03-22 11:55:21 +00:00
David Baker
359e055314 Make callMembershipSpan optional 2023-03-21 12:13:51 +00:00
David Baker
6696af9b3f Experiment to try & stop vite OOMing 2023-03-20 19:29:19 +00:00
David Baker
9b02d17224 Merge branch 'main' into dbkr/otel 2023-03-20 19:20:13 +00:00
David Baker
6b36604c84 Update js-sdk 2023-03-20 19:17:50 +00:00
David Baker
ef9934ce6b Commit nginx config file 2023-03-20 13:53:07 +00:00
David Baker
e7a7cf3eb8 Export events to posthog too 2023-03-20 13:30:21 +00:00
David Baker
63ede0b51a Version using events for call joins / leaves and matrix events
This is probably conceptually nicer although isn't quite as nice in
the jaeger / stalk UI.

Also this may no loger work with the posthog exporter (unsure what it
will do with events on spans).
2023-03-17 19:26:23 +00:00
David Baker
2d91b43a7d Set attributes on the root span
Setting them on the context doesn't actually make them show up in
jaeger, it's just a way to propagate the info around between
different things.
2023-03-17 19:03:43 +00:00
Robin
ff90e507a6
Merge pull request #963 from alariej/navigator_mediasession_fix
Fix for Android WebView, which does not support navigator.mediaSession
2023-03-17 13:20:05 -04:00
David Baker
f8f5d2011d Add CORS to jaeger query endpoint and make spans nested
Adds an nginx in front of the query endpoint so we can use stalk
without faffing with browser extension to bypass CORS.

Also make the spans correctly have the call membership span as parent,
which they didn't because we hadn't set the span at the point we made
the context.
2023-03-17 17:01:59 +00:00
alariej
1bf1813a77 Fix for Android WebView, which does not support navigator.mediaSession 2023-03-17 17:20:16 +01:00
David Baker
521b0a857a Send spans for state events 2023-03-16 18:08:28 +00:00
David Baker
31450219c8 More work on opentelemetry event reporting
Moastly a re-org to avoid new contexts over React component unmounts/
remounts.
2023-03-16 14:41:55 +00:00
David Baker
22d2404370 Prettier 2023-03-15 16:04:15 +00:00
David Baker
c519e13885 Version that does at least send some traces 2023-03-15 16:00:39 +00:00
David Baker
1e2cd97764 Include the arguably-obvious command line 2023-03-15 14:38:17 +00:00
David Baker
0cca5ae174 Slightly evolved but not-yet-working OpenTelemetry
More usefully, including docker config for starting a CORS enabled
OTLP collector so we don't have to use zipkin.
2023-03-15 14:35:10 +00:00
Robin Townsend
971eca59ff Opt into analytics by default during the beta 2023-03-13 19:12:47 -04:00
Robin
7aa902853a
Merge pull request #956 from RiotTranslateBot/weblate-element-call-element-call
Translations update from Weblate
2023-03-11 00:49:06 -05:00
lunarna-gh
49b23160f3 Translated using Weblate (Polish)
Currently translated at 97.2% (139 of 143 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/pl/
2023-03-11 01:33:43 +00:00
Timo
b68d4bf51b
Update README.md (#953)
Only a tiny typo
2023-03-10 14:42:24 +01:00
Timo K
4c59638d00 otel for call start, end and mute
This is send over zipkin.
And it uses a posthog exporter to export events to posthog
using a _otel prefix
2023-03-10 10:33:54 +01:00
Robin
3e081ac936
Merge pull request #890 from RiotTranslateBot/weblate-element-call-element-call
Translations update from Weblate
2023-03-08 10:53:58 -05:00
Weblate
7e1d5fff14 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/
2023-03-07 16:33:45 +00:00
Jozef Gaal
ca1f502e62 Translated using Weblate (Slovak)
Currently translated at 100.0% (143 of 143 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/sk/
2023-03-07 16:33:44 +00:00
Open Culture Foundation
1913abc682 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (143 of 143 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/zh_Hant/
2023-03-07 16:33:44 +00:00
Peter Chen
345891dbdf Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (143 of 143 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/zh_Hant/
2023-03-07 16:33:44 +00:00
Jeff Huang
29082adb73 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (143 of 143 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/zh_Hant/
2023-03-07 16:33:44 +00:00
Avery
3dc288574e Translated using Weblate (Spanish)
Currently translated at 98.6% (141 of 143 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/es/
2023-03-07 16:33:44 +00:00
Priit Jõerüüt
03c15d5b07 Translated using Weblate (Estonian)
Currently translated at 100.0% (143 of 143 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/et/
2023-03-07 16:33:44 +00:00
Ihor Hordiichuk
6fceeec323 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (143 of 143 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/uk/
2023-03-07 16:33:44 +00:00
Glandos
44762afd2a Translated using Weblate (French)
Currently translated at 100.0% (143 of 143 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/fr/
2023-03-07 16:33:44 +00:00
Linerly
fa97f51907 Translated using Weblate (Indonesian)
Currently translated at 100.0% (143 of 143 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/id/
2023-03-07 16:33:44 +00:00
Vri
a15ce32ecf Translated using Weblate (German)
Currently translated at 100.0% (143 of 143 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/de/
2023-03-07 16:33:44 +00:00
Weblate
4a3b7bc6dd Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/
2023-03-07 16:33:44 +00:00
DarkCoder15
a1cb52c613 Translated using Weblate (Russian)
Currently translated at 100.0% (142 of 142 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/ru/
2023-03-07 16:33:44 +00:00