Skip to content

Commit

Permalink
Add some descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst committed Aug 19, 2022
1 parent 6ed57f6 commit 0a4271b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/nextjs/src/config/wrappers/wrapperUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,11 @@ export function callTracedServerSideDataFetcher<F extends (...args: any[]) => Pr
req: IncomingMessage,
res: ServerResponse,
options: {
/** Parameterized route of the request - will be used for naming the transaction. */
requestedRouteName: string;
/** Name of the route the data fetcher was defined in - will be used for describing the data fetcher's span. */
dataFetcherRouteName: string;
/** Name of the data fetching method - will be used for describing the data fetcher's span. */
dataFetchingMethodName: string;
},
): Promise<ReturnType<F>> {
Expand Down

0 comments on commit 0a4271b

Please sign in to comment.