Skip to content

Commit 3fcbca4

Browse files
committed
Remove new unused span metadata and context
1 parent 00544ce commit 3fcbca4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

apps/webapp/app/v3/eventRepository.server.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -553,11 +553,6 @@ export class EventRepository {
553553
const show = rehydrateShow(spanEvent.properties);
554554

555555
const properties = sanitizedAttributes(spanEvent.properties);
556-
const metadata = sanitizedAttributes(spanEvent.metadata);
557-
const context =
558-
metadata && typeof metadata === "object"
559-
? (metadata.ctx as Record<string, unknown>)
560-
: undefined;
561556

562557
const messagingEvent = SpanMessagingEvent.optional().safeParse(
563558
(properties as any)?.messaging
@@ -608,8 +603,6 @@ export class EventRepository {
608603
payload,
609604
output,
610605
properties,
611-
metadata,
612-
context,
613606
events: spanEvents,
614607
show,
615608
links,

0 commit comments

Comments
 (0)