Skip to content

Commit

Permalink
ui: extend stmt details link timescale window to match txn details link
Browse files Browse the repository at this point in the history
Fixes #97952.

This commit extends the window of the timeScale set by clicking
the statement details link from the Insight Overview and Statement
Insight Details pages to 65 minutes, to match the behavior of the
transaction details link.

Epic: none

Release note: None
  • Loading branch information
ericharmeling committed Mar 7, 2023
1 parent 5e89c45 commit 5c393db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function StatementDetailsLink(
implicitTxn: insightDetails.implicitTxn,
};
const timeScale: TimeScale = {
windowSize: moment.duration(insightDetails.elapsedTimeMillis),
windowSize: moment.duration(65, "minutes"),
fixedWindowEnd: insightDetails.endTime,
sampleSize: moment.duration(1, "hour"),
key: "Custom",
Expand Down

0 comments on commit 5c393db

Please sign in to comment.