File tree 4 files changed +1788
-1412
lines changed 4 files changed +1788
-1412
lines changed Original file line number Diff line number Diff line change 26
26
"@opentelemetry/api" : " ^1.4.0" ,
27
27
"@opentelemetry/context-zone" : " ^1.9.1" ,
28
28
"@opentelemetry/exporter-jaeger" : " ^1.9.1" ,
29
- "@opentelemetry/exporter-trace-otlp-http" : " ^0.48 .0" ,
30
- "@opentelemetry/instrumentation-document-load" : " ^0.38 .0" ,
31
- "@opentelemetry/instrumentation-user-interaction" : " ^0.38 .0" ,
29
+ "@opentelemetry/exporter-trace-otlp-http" : " ^0.52 .0" ,
30
+ "@opentelemetry/instrumentation-document-load" : " ^0.39 .0" ,
31
+ "@opentelemetry/instrumentation-user-interaction" : " ^0.39 .0" ,
32
32
"@opentelemetry/sdk-trace-web" : " ^1.9.1" ,
33
33
"@radix-ui/react-dialog" : " ^1.0.4" ,
34
34
"@radix-ui/react-slider" : " ^1.1.2" ,
Original file line number Diff line number Diff line change @@ -28,12 +28,6 @@ declare global {
28
28
OLM_OPTIONS : Record < string , string > ;
29
29
}
30
30
31
- // TypeScript doesn't know about the experimental setSinkId method, so we
32
- // declare it ourselves
33
- interface MediaElement extends HTMLVideoElement {
34
- setSinkId : ( id : string ) => void ;
35
- }
36
-
37
31
interface HTMLElement {
38
32
// Safari only supports this prefixed, so tell the type system about it
39
33
webkitRequestFullscreen : ( ) => void ;
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ import {
40
40
SummaryStatsReport ,
41
41
CallFeedReport ,
42
42
} from "matrix-js-sdk/src/webrtc/stats/statsReport" ;
43
- import { setSpan } from "@opentelemetry/api/build/esm/trace/context-utils" ;
44
43
45
44
import { ElementCallOpenTelemetry } from "./otel" ;
46
45
import { ObjectFlattener } from "./ObjectFlattener" ;
@@ -446,7 +445,7 @@ export class OTelGroupCallMembership {
446
445
const type = OTelStatsReportType . SummaryReport ;
447
446
const data = ObjectFlattener . flattenSummaryStatsReportObject ( statsReport ) ;
448
447
if ( this . statsReportSpan . span === undefined && this . callMembershipSpan ) {
449
- const ctx = setSpan (
448
+ const ctx = opentelemetry . trace . setSpan (
450
449
opentelemetry . context . active ( ) ,
451
450
this . callMembershipSpan ,
452
451
) ;
You can’t perform that action at this time.
0 commit comments