Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const BottomGroupMinimized = () => {
)}
>
<EuiIcon type="inspect" size="m" />
<span>Monitor</span>
<span>Profiler</span>
</EuiBadge>
</EuiFlexItem>
</EuiFlexGroup>
Expand Down
8 changes: 4 additions & 4 deletions redisinsight/ui/src/components/monitor/Monitor/Monitor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const Monitor = (props: Props) => {
data-testid="start-monitor"
/>
</EuiToolTip>
<div className={styles.startTitle}>Start monitor</div>
<div className={styles.startTitle}>Start profiler</div>
<EuiFlexGroup responsive={false}>
<EuiFlexItem grow={false}>
<EuiIcon
Expand All @@ -63,7 +63,7 @@ const Monitor = (props: Props) => {
</EuiFlexItem>
<EuiFlexItem>
<EuiTextColor color="danger" style={{ paddingLeft: 4 }}>
Running Monitor will decrease throughput, avoid running it in production databases
Running Profiler will decrease throughput, avoid running it in production databases
</EuiTextColor>
</EuiFlexItem>
</EuiFlexGroup>
Expand All @@ -77,7 +77,7 @@ const Monitor = (props: Props) => {
<>
<div className={styles.container} data-testid="monitor">
{(!isStarted || (!isRunning && !items?.length)) && <MonitorNotStarted />}
{!items?.length && isRunning && <div data-testid="monitor-started" style={{ paddingTop: 10 }}>Monitor is started.</div>}
{!items?.length && isRunning && <div data-testid="monitor-started" style={{ paddingTop: 10 }}>Profiler is started.</div>}

{isStarted && !!items?.length && (
<div className={styles.content}>
Expand All @@ -92,7 +92,7 @@ const Monitor = (props: Props) => {
/>
{isMonitorStopped && (
<div data-testid="monitor-stopped" style={{ width: 140, paddingTop: 15 }}>
Monitor is stopped.
Profiler is stopped.
</div>
)}
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const MonitorHeader = () => {
>
<EuiFlexItem grow={false} className={styles.title}>
<EuiIcon type="inspect" size="m" />
<EuiText>Monitor</EuiText>
<EuiText>Profiler</EuiText>
</EuiFlexItem>
<EuiFlexItem grow={false} className={styles.actions}>
<EuiToolTip
Expand All @@ -74,7 +74,7 @@ const MonitorHeader = () => {
<EuiButtonIcon
iconType="eraser"
onClick={handleClearMonitor}
aria-label="clear monitor"
aria-label="clear profiler"
data-testid="clear-monitor"
/>
</EuiToolTip>
Expand Down
2 changes: 1 addition & 1 deletion redisinsight/ui/src/constants/cliOutput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const cliTexts = {
commandLine + unsupportedCommandTextWorkbench + commands,
REPEAT_COUNT_INVALID: 'Invalid repeat command option value',
CONNECTION_CLOSED: 'Client connection previously closed. Run the command after the connection is re-created.',
MONITOR_COMMAND: 'Use the "Monitor" tool to see all the requests processed by the server.',
MONITOR_COMMAND: 'Use the "Profiler" tool to see all the requests processed by the server.',
UNABLE_TO_DECRYPT: 'Unable to decrypt. Check the system keychain or re-run the command.',
CLI_ERROR_MESSAGE: (message: string) => (
[
Expand Down