trace

package
v1.3.0-rc.0...-d217119 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CH_TABLE = "spans"
	// distributed table
	CH_TABLE_ALL = "spans_all"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Span

type Span struct {
	StartTime     int64             `json:"start_time"` // timestamp nano
	EndTime       int64             `json:"end_time"`   // timestamp nano
	OrgName       string            `json:"org_name"`
	TraceId       string            `json:"trace_id"`
	SpanId        string            `json:"span_id"`
	ParentSpanId  string            `json:"parent_span_id"`
	OperationName string            `json:"operation_name" `
	Tags          map[string]string `json:"tags"`
}

func (*Span) GetTags

func (s *Span) GetTags() map[string]string

func (*Span) Hash

func (s *Span) Hash() uint64

type TableSpan

type TableSpan struct {
	StartTime     time.Time `ch:"start_time"` // timestamp nano
	EndTime       time.Time `ch:"end_time"`   // timestamp nano
	OrgName       string    `ch:"org_name"`
	TenantId      string    `ch:"tenant_id"`
	TraceId       string    `ch:"trace_id"`
	SpanId        string    `ch:"span_id"`
	ParentSpanId  string    `ch:"parent_span_id"`
	OperationName string    `ch:"operation_name" `
	TagKeys       []string  `ch:"tag_keys"`
	TagValues     []string  `ch:"tag_values"`
}

Directories

Path Synopsis
core
Package query is a generated GoMock package.
Package query is a generated GoMock package.

Jump to

Keyboard shortcuts

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