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 4, 2024
1 parent 50e7d00 commit 2b70dce
Show file tree
Hide file tree
Showing 4 changed files with 1,010 additions and 8 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 2b70dce

Please sign in to comment.