File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,8 @@ export function instrumentOutgoingRequests(_options?: Partial<RequestInstrumenta
121121
122122 if ( traceFetch ) {
123123 if ( client ) {
124- // Keeping track of http requests, whose body payloads resolved later than the intial resolved request (e.g. SSE)
124+ // Keeping track of http requests, whose body payloads resolved later than the intial resolved request
125+ // e.g. streaming using server sent events (SSE)
125126 client . addEventProcessor ( event => {
126127 if ( event . type === 'transaction' && event . spans ) {
127128 event . spans . forEach ( span => {
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export function addFetchInstrumentationHandler(handler: (data: HandlerDataFetch)
2727}
2828
2929/**
30- * Add an instrumentation handler for long-lived fetch requests, like consuming SSE via fetch.
30+ * Add an instrumentation handler for long-lived fetch requests, like consuming server-sent events ( SSE) via fetch.
3131 * The handler will resolve the request body and emit the actual `endTimestamp`, so that the
3232 * span can be updated accordingly.
3333 *
You can’t perform that action at this time.
0 commit comments