jaeger

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJaegerApiClient

func NewJaegerApiClient(client transport.HttpClient) debug.TraceApi

Types

type Data

type Data struct {
	TraceID   string      `json:"traceID"`
	Spans     []Spans     `json:"spans"`
	Processes Processes   `json:"processes"`
	Warnings  interface{} `json:"warnings"`
}

type Fields

type Fields struct {
	Key   string `json:"key"`
	Type  string `json:"type"`
	Value string `json:"value"`
}

type Logs

type Logs struct {
	Timestamp int64    `json:"timestamp"`
	Fields    []Fields `json:"fields"`
}

type P1

type P1 struct {
	ServiceName string `json:"serviceName"`
	Tags        []Tags `json:"tags"`
}

type P2

type P2 struct {
	ServiceName string `json:"serviceName"`
	Tags        []Tags `json:"tags"`
}

type Processes

type Processes struct {
	P1 P1 `json:"p1"`
	P2 P2 `json:"p2"`
}

type References

type References struct {
	RefType string `json:"refType"`
	TraceID string `json:"traceID"`
	SpanID  string `json:"spanID"`
}

type Span

type Span struct {
	SpanNode Spans
	TagsMap  map[string]string
}

type SpanNode

type SpanNode struct {
	MessageId string
	// contains filtered or unexported fields
}

type Spans

type Spans struct {
	TraceID       string       `json:"traceID"`
	SpanID        string       `json:"spanID"`
	Flags         int          `json:"flags"`
	OperationName string       `json:"operationName"`
	References    []References `json:"references"`
	StartTime     int64        `json:"startTime"`
	Duration      int          `json:"duration"`
	Tags          []Tags       `json:"tags"`
	Logs          []Logs       `json:"logs"`
	ProcessID     string       `json:"processID"`
	Warnings      interface{}  `json:"warnings"`
}

type Tags

type Tags struct {
	Key   string      `json:"key"`
	Type  string      `json:"type"`
	Value interface{} `json:"value"`
}

type Trace

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳