Skip to content

Commit

Permalink
[Fix] Add missing totalSeconds field (#182093)
Browse files Browse the repository at this point in the history
## Summary
The PR #182001 was verified at a
point where typechecking was missing for a bit, this allowed a missing
field to slip in. This PR tries to fix it.
  • Loading branch information
delanni authored Apr 30, 2024
1 parent cb77c2d commit 370a7f5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export function registerTopNFunctionsAPMTransactionsRoute({
indices: transactionIndices.split(','),
stacktraceIdsField: 'transaction.profiler_stack_trace_ids',
limit: 1000,
totalSeconds: endSecs - startSecs,
});
const apmFunction = apmFunctions.TopN.find(
(topNFunction) => topNFunction.Frame.FunctionName === functionName
Expand Down

0 comments on commit 370a7f5

Please sign in to comment.