Documentation
¶
Index ¶
- Constants
- type App
- func (a *App) ApplyCLIParameters(c *types.CLI, commandName string)
- func (a *App) ApplyPredefinedRange(rangeOption string)
- func (a *App) ExecuteAndProcessSparklineQuery(query string, prefix string, fields []string, ...) error
- func (a *App) GenerateSparkline(values []float64) string
- func (a *App) GetContextList() string
- func (a *App) Run() error
- func (a *App) SetCategory(category string)
- func (a *App) SetCluster(cluster string)
- func (a *App) SetConnectByName(contextName string) bool
- func (a *App) SetFromTime(t time.Time)
- func (a *App) SetMetric(metric string)
- func (a *App) SetToTime(t time.Time)
- func (a *App) ShowAsynchronousMetricLog(fromTime, toTime time.Time, cluster string)
- func (a *App) ShowAudit()
- func (a *App) ShowDescription(name, description string)
- func (a *App) ShowFlamegraphForm(params ...FlamegraphParams)
- func (a *App) ShowHeatmap()
- func (a *App) ShowMetricLog(fromTime, toTime time.Time, cluster string)
- func (a *App) ShowProfileEvents(categoryType CategoryType, categoryValue string, fromTime, toTime time.Time, ...)
- func (a *App) SwitchToMainPage(mainMsg string)
- type AuditPanel
- type AuditResult
- type CategoryType
- type FlamegraphParams
- type HeatmapMetric
- type LogEntry
- type LogFilter
- type LogPanel
- type ScaleType
- type TraceType
Constants ¶
View Source
const ( CmdHelp = "help" CmdConnect = "connect" CmdQuit = "quit" CmdFlamegraph = "flamegraph" CmdFrom = "from" CmdTo = "to" CmdRange = "range" CmdCluster = "cluster" CmdHeatmap = "heatmap" CmdCategory = "categoryType" CmdMetric = "heatmapMetric" CmdScale = "scale" CmdProfileEvents = "profile_events" CmdMetricLog = "metric_log" CmdAsyncMetricLog = "asynchronous_metric_log" CmdLogs = "logs" CmdAudit = "audit" )
Available commands
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
func (*App) ApplyPredefinedRange ¶
func (*App) ExecuteAndProcessSparklineQuery ¶
func (*App) GenerateSparkline ¶
func (*App) GetContextList ¶
func (*App) SetCategory ¶
func (*App) SetCluster ¶
func (*App) SetConnectByName ¶
func (*App) SetFromTime ¶
func (*App) ShowAsynchronousMetricLog ¶
func (*App) ShowDescription ¶
func (*App) ShowFlamegraphForm ¶
func (a *App) ShowFlamegraphForm(params ...FlamegraphParams)
func (*App) ShowHeatmap ¶
func (a *App) ShowHeatmap()
ShowHeatmap displays the heatmap visualization
func (*App) ShowProfileEvents ¶
func (*App) SwitchToMainPage ¶
type AuditPanel ¶
type AuditPanel struct {
// contains filtered or unexported fields
}
AuditPanel manages the audit interface
type AuditResult ¶
type AuditResult struct {
ID string
Host string
Object string
Severity string
Details string
Values map[string]float64
}
AuditResult represents a single audit finding
type CategoryType ¶
type CategoryType string
CategoryType Category types for heatmap
const ( CategoryQueryHash CategoryType = "normalized_query_hash" CategoryTable CategoryType = "tables" CategoryHost CategoryType = "hosts" CategoryError CategoryType = "errors" )
type FlamegraphParams ¶
type FlamegraphParams struct {
CategoryType CategoryType
CategoryValue string
TraceType TraceType
FromTime time.Time
ToTime time.Time
SourcePage string // Tracks where the flamegraph was called from
}
FlamegraphParams Structure for storing flamegraph parameters
type HeatmapMetric ¶
type HeatmapMetric string
HeatmapMetric Heatmap metric types
const ( MetricCount HeatmapMetric = "count" MetricMemoryUsage HeatmapMetric = "memoryUsage" MetricCPUUsage HeatmapMetric = "cpuUsage" MetricNetworkSent HeatmapMetric = "networkSent" MetricNetworkReceive HeatmapMetric = "networkReceive" MetricReadRows HeatmapMetric = "readRows" MetricWrittenRows HeatmapMetric = "writtenRows" MetricReadBytes HeatmapMetric = "readBytes" MetricWrittenBytes HeatmapMetric = "writtenBytes" )
Source Files
¶
- asynchronous_metric_log_handler.go
- audit_handler.go
- cluster_handler.go
- commands.go
- connect_handler.go
- date_range_handler.go
- flamegraph_handler.go
- heatmap_category_handler.go
- heatmap_handler.go
- heatmap_metric_handler.go
- logs_panel_handler.go
- metric_description_modal.go
- metric_log_handler.go
- profile_events_handler.go
- quit_handler.go
- scale_handler.go
- sparkline_panel.go
- tui.go
Click to show internal directories.
Click to hide internal directories.