flamechart

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const PluginKind = "FlameChart"

Variables

This section is empty.

Functions

func Chart

func Chart(options ...Option) panel.Option

Types

type Builder

type Builder struct {
	PluginSpec `json:",inline" yaml:",inline"`
}

type Option

type Option func(plugin *Builder) error

func DefinePalette

func DefinePalette(palette Palette) Option

func ShowFlameGraph

func ShowFlameGraph() Option

func ShowSeries

func ShowSeries() Option

func ShowSettings

func ShowSettings() Option

func ShowTable

func ShowTable() Option

type Palette

type Palette string
const (
	ValuePaletteMode   Palette = "value"
	PackagePaletteMode Palette = "package-name"
)

type PluginSpec

type PluginSpec struct {
	ShowSettings   bool    `json:"showSettings,omitempty" yaml:"showSettings,omitempty"`
	ShowSeries     bool    `json:"showSeries,omitempty" yaml:"showSeries,omitempty"`
	ShowTable      bool    `json:"showTable,omitempty" yaml:"showTable,omitempty"`
	ShowFlameGraph bool    `json:"showFlameGraph,omitempty" yaml:"showFlameGraph,omitempty"`
	Palette        Palette `json:"mode" yaml:"mode"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL