grafana/grafana
@grafana/flamegraph
Flame-graph rendering component used by profiling datasources. Source under packages/grafana-flamegraph/.
Scope
<FlameGraph> is a high-performance canvas-based renderer for stack traces / profile data. It is shared between:
public/app/plugins/datasource/grafana-pyroscope-datasource/(Pyroscope).public/app/plugins/datasource/parca/(Parca).- The Explore Profile / FlameGraph view.
- Continuous profiling integrations.
What it does
- Accepts a profile in the
DataFrameshape produced by the backend datasources (level, value, label, self). - Renders the inverted flame graph with hover, search, and zoom.
- Emits selection events so the host can show a sandwich view, or jump to source.
Why a separate package?
Flame graphs are useful well beyond a single panel — they show up in plugin admin (size analysis), in profiling drilldowns, and as a top-level Explore visualization. Shipping them as a package keeps the implementation single-sourced and lets external plugins consume the same component for their own profile data.
See also
- Built-in plugins / datasources — consumers.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.