Skip to content

CacheStatsOverview

Whole-keyspace overview: server stats (memory, hit rate, uptime) plus a keys-per-prefix breakdown of the top tree level. Shown when nothing is selected in the browser.

Source

import { CacheStatsOverview } from "@flanksource/clicky-ui/data";
Default · Open in Storybook

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
className string — —
client* CacheClient — —
onSelect (…) => void — Drill into a top-level prefix/key from the breakdown rows.
rootPrefix string — Logical prefix the overview aggregates; matches the tree's rootPrefix.