Skip to content

Commit

Permalink
add a note to the system overview tab
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Sep 19, 2023
1 parent dd88191 commit f7482b7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions frontend/src/scenes/instance/SystemStatus/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { systemStatusLogic, InstanceStatusTabName } from './systemStatusLogic'
import { useActions, useValues } from 'kea'
import { PageHeader } from 'lib/components/PageHeader'
import { preflightLogic } from 'scenes/PreflightCheck/preflightLogic'
import { IconOpenInNew } from 'lib/lemon-ui/icons'
import { IconInfo, IconOpenInNew } from 'lib/lemon-ui/icons'
import { OverviewTab } from 'scenes/instance/SystemStatus/OverviewTab'
import { InternalMetricsTab } from 'scenes/instance/SystemStatus/InternalMetricsTab'
import { SceneExport } from 'scenes/sceneTypes'
Expand All @@ -17,6 +17,7 @@ import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
import { FEATURE_FLAGS } from 'lib/constants'
import { KafkaInspectorTab } from './KafkaInspectorTab'
import { LemonTab, LemonTabs } from 'lib/lemon-ui/LemonTabs'
import { Tooltip } from 'lib/lemon-ui/Tooltip'

export const scene: SceneExport = {
component: SystemStatus,
Expand All @@ -33,7 +34,11 @@ export function SystemStatus(): JSX.Element {
let tabs = [
{
key: 'overview',
label: 'System overview',
label: (
<Tooltip title={<>System overview is cached for 60 seconds</>}>
System overview <IconInfo />
</Tooltip>
),
content: <OverviewTab />,
},
] as LemonTab<InstanceStatusTabName>[]
Expand Down

0 comments on commit f7482b7

Please sign in to comment.