trace

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransferArrayValue

func TransferArrayValue(vals *v11.ArrayValue) []any

func TransferAttributes

func TransferAttributes(attrs []*v11.KeyValue) map[string]any

Types

type Span

type Span struct {
	TraceId      string
	SpanId       string
	ParentSpanId string
	Kind         string
	Name         string
	StartTime    time.Time
	EndTime      time.Time
	Duration     uint64
	Status       *tracepb.Status
	Resource     *v1.Resource
	Attributes   []*v11.KeyValue
	Links        []*tracepb.Span_Link
	Events       []*tracepb.Span_Event
}

func NewSpan

func NewSpan() *Span

func (*Span) FillRow

func (s *Span) FillRow(ctx context.Context, row *table.Row)

func (*Span) Free

func (s *Span) Free()

func (*Span) GetName

func (*Span) GetName() string

func (*Span) GetTable

func (*Span) GetTable() *table.Table

func (*Span) Size

func (s *Span) Size() int64

Jump to

Keyboard shortcuts

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