Skip to content

GoProfileView

A Go pprof profile as the goprof kind stores it: the checkpoint chooser (profile type, source and time; the latest by default) over a top-N table of functions by flat and cumulative value with a frames drill-down. Props-only.

Source

import { GoProfileView } from "@flanksource/clicky-ui/data";
Cpu Profile · Open in Storybook
Heap Profile · Open in Storybook
Drill Down · 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 — —
processKey string — The `process_tree` key whose profiles to show; required when the records span processes.
records* GoProfileRecord[] — `goprof` records, possibly of several checkpoints and processes; those of one process are shown.
topN number — —