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 18, 2022
1 parent c9467c5 commit d2a0a55
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 @@ -72,8 +72,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 d2a0a55

Please sign in to comment.