span_tag

package
v0.0.0-...-c304809 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2018 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSpanTag

func CreateSpanTag(t SpanTag, tx *sql.Tx, ctx context.Context) error

func ParseTag

func ParseTag(tag string) (key, value string)

func SpanIds

func SpanIds(spanTags []SpanTag) []string

func TraceIds

func TraceIds(spanTags []SpanTag) []string

Types

type SpanTag

type SpanTag struct {
	ProjectId int32  `json:"project_id"`
	TraceId   string `json:"trace_id"`
	SpanId    string `json:"span_id"`
	Key       string `json:"key"`
	Value     string `json:"value"`
}

func ListSpanTags

func ListSpanTags(projectId int, traceId, spanId, tag string, tx *sql.DB, ctx context.Context) ([]SpanTag, error)

Jump to

Keyboard shortcuts

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