app

package
v0.0.0-...-e3c71af Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteToCSV

func WriteToCSV(traces []*Trace, filename string) error

WriteToCSV writes the given Traces as a CSV to the filename

Types

type JaegerTracesResponse

type JaegerTracesResponse struct {
	Data   []json.Trace `json:"data"`
	Total  int          `json:"total"`
	Limit  int          `json:"limit"`
	Offset int          `json:"offset"`
	Errors interface{}  `json:"errors"`
}

JaegerTracesResponse represents a Jaeger Trace Search response

func JaegerSearchTraces

func JaegerSearchTraces(client *http.Client, host string, limit int, lookback, service, tags string) (*JaegerTracesResponse, error)

JaegerSearchTraces searches Jaeger for Traces with the given parameters

type Span

type Span struct {
	json.Span
}

Span represents a span

type Trace

type Trace struct {
	TraceID string
	Spans   map[string]*Span
}

Trace represents Trace

func GenerateTraceWithSpansMap

func GenerateTraceWithSpansMap(info *JaegerTracesResponse) []*Trace

GenerateTraceWithSpansMap builds traces list with span map

Jump to

Keyboard shortcuts

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