Documentation
¶
Index ¶
Constants ¶
View Source
const (
SampledCBKey = "sampled-cb"
)
Variables ¶
This section is empty.
Functions ¶
func HTTP ¶
HTTP makes an http.Handler out of a Registry. It serves paths using this package's FromRequest request router. Usually HTTP is called with the Default registry.
func SpansToJSON ¶
func SpansToJSON(w io.Writer, spans []*collect.FinishedSpan) error
SpansToJSON turns a list of FinishedSpans into JSON format.
func SpansToSVG ¶
func SpansToSVG(w io.Writer, spans []*collect.FinishedSpan) error
SpansToSVG takes a list of FinishedSpans and writes them to w in SVG format. It draws a trace using the Spans where the Spans are ordered by start time.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.