diff --git a/src/otel/otel.ts b/src/otel/otel.ts index 107c127..452bd83 100644 --- a/src/otel/otel.ts +++ b/src/otel/otel.ts @@ -14,10 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import { - ConsoleSpanExporter, - SimpleSpanProcessor, -} from "@opentelemetry/sdk-trace-base"; +import { SimpleSpanProcessor } from "@opentelemetry/sdk-trace-base"; import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http"; import { WebTracerProvider } from "@opentelemetry/sdk-trace-web"; import opentelemetry, { Tracer } from "@opentelemetry/api"; @@ -93,9 +90,6 @@ export class ElementCallOpenTelemetry { this._provider.addSpanProcessor(this.rageshakeProcessor); } - this._provider.addSpanProcessor( - new SimpleSpanProcessor(new ConsoleSpanExporter()) - ); this._provider.addSpanProcessor(new PosthogSpanProcessor()); opentelemetry.trace.setGlobalTracerProvider(this._provider); diff --git a/src/room/useGroupCall.ts b/src/room/useGroupCall.ts index 0126e1c..f95056b 100644 --- a/src/room/useGroupCall.ts +++ b/src/room/useGroupCall.ts @@ -133,6 +133,7 @@ function getParticipants( : ConnectionState.WaitMedia : ConnectionState.EstablishingCall; } + console.log(`${member.userId} conn state is ${connectionState}`); participantInfoMap.set(deviceId, { connectionState, presenter: participant.screensharing,