Skip to content

Commit

Permalink
Merge pull request #74417 from cockroachdb/blathers/backport-release-…
Browse files Browse the repository at this point in the history
…21.2-73922

release-21.2: ui: say "reset" SQL stats instead of "clear"
  • Loading branch information
maryliag authored Jan 6, 2022
2 parents 3880f42 + c402fcc commit fee0515
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ui/workspaces/cluster-ui/src/sqlActivity/clearStats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ const ClearStats = (props: clearStatsProps): React.ReactElement => {
const toolTipText = `${statsType} statistics are aggregated once an hour by default and organized by the start time.
Statistics between two hourly intervals belong to the nearest hour rounded down.
For example, a ${statsType} execution ending at 1:50 would have its statistics aggregated in the 1:00 interval
start time. Clicking ‘clear SQL stats’ will reset SQL stats on the Statements and Transactions pages and
start time. Clicking ‘reset SQL stats’ will reset SQL stats on the Statements and Transactions pages and
crdb_internal tables.`;
return (
<Tooltip content={toolTipText} style="tableTitle">
<a
className={cx("action", "tooltip-info", "separator")}
onClick={props.resetSQLStats}
>
clear SQL stats
reset SQL stats
</a>
</Tooltip>
);
Expand Down

0 comments on commit fee0515

Please sign in to comment.