Skip to content

Commit

Permalink
ui: say "reset" SQL stats instead of "clear"
Browse files Browse the repository at this point in the history
Fixes #73444

Release note (ui change): The "clear SQL stats" links on the statement
and transaction pages were relabeled "reset SQL stats," for consistency
with the language in the SQL shell.
  • Loading branch information
matthewtodd committed Dec 16, 2021
1 parent cf65c3c commit c402fcc
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 c402fcc

Please sign in to comment.