Add webrtc metric to OTel (#974)

* stats: Add summery report

---------

Co-authored-by: David Baker <dave@matrix.org>
This commit is contained in:
Enrico Schwendig
2023-04-05 10:25:26 +02:00
committed by GitHub
parent 28196a2e9d
commit 390442a4c3
7 changed files with 478 additions and 26 deletions

View File

@@ -48,7 +48,7 @@ export class ElementCallOpenTelemetry {
return sharedInstance;
}
constructor(collectorUrl: string) {
constructor(collectorUrl: string | undefined) {
const otlpExporter = new OTLPTraceExporter({
url: collectorUrl,
});