Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatTree ¶
FormatTree builds a trace tree from flat spans and returns the formatted string. Useful for TUI and testing.
Types ¶
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
Renderer buffers completed spans and prints a trace tree when the root span (no parent) arrives.
func NewRenderer ¶
NewRenderer creates a renderer that writes trees to w.
Click to show internal directories.
Click to hide internal directories.