Documentation ¶
Index ¶
Constants ¶
const ( PAGE_TRACES = "Traces" PAGE_TIMELINE = "Timeline" PAGE_TRACE_TOPOLOGY = "TraceTopology" PAGE_LOGS = "Logs" PAGE_DEBUG_LOG = "DebugLog" PAGE_METRICS = "Metrics" PAGE_MODAL = "Modal" DEFAULT_PROPORTION_TRACE_DETAILS = 20 DEFAULT_PROPORTION_TRACE_TABLE = 30 DEFAULT_PROPORTION_METRIC_SIDE = 25 DEFAULT_PROPORTION_METRIC_TABLE = 25 DEFAULT_PROPORTION_LOG_DETAILS = 20 DEFAULT_PROPORTION_LOG_TABLE = 30 )
const ( TIMELINE_DETAILS_IDX = 1 // index of details in the base flex container TIMELINE_TREE_TITLE = "Details (d)" SPAN_NAME_COLUMN_WIDTH_RESIZE_UNIT = 5 SPAN_NAME_COLUMN_WIDTH_DEFAULT = 30 DEFAULT_PROPORTION_TIMELINE_DETAILS = 21 DEFAULT_PROPORTION_TIMELINE_GRID = 29 )
const MODAL_TITLE = "Scroll (Ctrl+J, Ctrl+K)"
const NULL_VALUE_FLOAT64 = math.MaxFloat64
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByTimestamp ¶
type ByTimestamp []*pmetric.NumberDataPoint
func (ByTimestamp) Len ¶
func (a ByTimestamp) Len() int
func (ByTimestamp) Less ¶
func (a ByTimestamp) Less(i, j int) bool
func (ByTimestamp) Swap ¶
func (a ByTimestamp) Swap(i, j int)
type LogDataForTable ¶
type LogDataForTable struct { tview.TableContentReadOnly // contains filtered or unexported fields }
LogDataForTable is a wrapper for logs to be displayed in a table
func NewLogDataForTable ¶
func NewLogDataForTable(logs *[]*telemetry.LogData) LogDataForTable
NewLogDataForTable creates a new LogDataForTable.
func NewLogDataForTableForTimeline ¶
func NewLogDataForTableForTimeline(logs *[]*telemetry.LogData) LogDataForTable
NewLogDataForTableForTimeline creates a new LogDataForTable for timeline page.
func (LogDataForTable) GetCell ¶
func (l LogDataForTable) GetCell(row, column int) *tview.TableCell
implementations for tview Virtual Table see: https://github.com/rivo/tview/wiki/VirtualTable
func (LogDataForTable) GetColumnCount ¶
func (l LogDataForTable) GetColumnCount() int
func (*LogDataForTable) GetColumnIdx ¶
func (l *LogDataForTable) GetColumnIdx() int
implementation for tableModalMapper interface
func (LogDataForTable) GetRowCount ¶
func (l LogDataForTable) GetRowCount() int
type MetricDataForTable ¶
type MetricDataForTable struct { tview.TableContentReadOnly // contains filtered or unexported fields }
func NewMetricDataForTable ¶
func NewMetricDataForTable(metrics *[]*telemetry.MetricData) MetricDataForTable
func (MetricDataForTable) GetCell ¶
func (m MetricDataForTable) GetCell(row, column int) *tview.TableCell
implementations for tview Virtual Table see: https://github.com/rivo/tview/wiki/VirtualTable
func (MetricDataForTable) GetColumnCount ¶
func (m MetricDataForTable) GetColumnCount() int
func (MetricDataForTable) GetRowCount ¶
func (m MetricDataForTable) GetRowCount() int
type SpanDataForTable ¶
type SpanDataForTable struct { tview.TableContentReadOnly // contains filtered or unexported fields }
SpanDataForTable is a wrapper for spans to be displayed in a table.
func NewSpanDataForTable ¶
func NewSpanDataForTable(tcache *telemetry.TraceCache, spans *telemetry.SvcSpans, sortType *telemetry.SortType) SpanDataForTable
NewSpanDataForTable creates a new SpanDataForTable.
func (SpanDataForTable) GetCell ¶
func (s SpanDataForTable) GetCell(row, column int) *tview.TableCell
implementations for tview Virtual Table see: https://github.com/rivo/tview/wiki/VirtualTable
func (SpanDataForTable) GetColumnCount ¶
func (s SpanDataForTable) GetColumnCount() int
func (SpanDataForTable) GetRowCount ¶
func (s SpanDataForTable) GetRowCount() int
type TUIPages ¶
type TUIPages struct {
// contains filtered or unexported fields
}
func NewTUIPages ¶
func (*TUIPages) TogglePage ¶
func (p *TUIPages) TogglePage()
TogglePage toggles Traces & Logs page.