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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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