Skip to content

Commit

Permalink
Implement the streaming tail types
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Dec 5, 2024
1 parent 9abb8f7 commit 35ebb34
Show file tree
Hide file tree
Showing 5 changed files with 1,494 additions and 28 deletions.
4 changes: 4 additions & 0 deletions src/workerd/api/trace.c++
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ kj::Maybe<TraceItem::EventInfo> getTraceEvent(jsg::Lock& js, const Trace& trace)
}
KJ_UNREACHABLE;
}
KJ_CASE_ONEOF(resume, tracing::Resume) {
// Resume events are not used with legacy trace
KJ_UNREACHABLE;
}
KJ_CASE_ONEOF(custom, tracing::CustomEventInfo) {
return kj::Maybe(jsg::alloc<TraceItem::CustomEventInfo>(trace, custom));
}
Expand Down
Loading

0 comments on commit 35ebb34

Please sign in to comment.