Skip to content

Commit

Permalink
Merge pull request #1764 from cloudflare/swarfield/dispatch-metrics
Browse files Browse the repository at this point in the history
Add dispatch metrics
  • Loading branch information
Warfields authored Mar 12, 2024
2 parents b58c6f4 + 9208402 commit 606caba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/workerd/io/observer.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ class RequestObserver: public kj::Refcounted {
return kj::mv(client);
}

// Used to record when a worker has a dynamic dispatch binding (Called on the dispatching side)
virtual void setHasDispatchBinding() {};

virtual SpanParent getSpan() { return nullptr; }

virtual void addedContextTask() {}
Expand Down

0 comments on commit 606caba

Please sign in to comment.