tracing

package
v1.22.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MemcacheDBItemKeyName attribute.Key = "db.memcached.item"
)

Variables

This section is empty.

Functions

func Init

func Init(machineId, hostname, version string)

Types

type Trace added in v1.12.0

type Trace struct {
	// contains filtered or unexported fields
}

func (*Trace) Http2Request added in v1.12.0

func (t *Trace) Http2Request(method, path, scheme string, status l7.Status, duration time.Duration)

func (*Trace) HttpRequest added in v1.12.0

func (t *Trace) HttpRequest(method, path string, status l7.Status, duration time.Duration)

func (*Trace) MemcachedQuery added in v1.12.0

func (t *Trace) MemcachedQuery(cmd string, items []string, error bool, duration time.Duration)

func (*Trace) MongoQuery added in v1.12.0

func (t *Trace) MongoQuery(query string, error bool, duration time.Duration)

func (*Trace) MysqlQuery added in v1.12.0

func (t *Trace) MysqlQuery(query string, error bool, duration time.Duration)

func (*Trace) PostgresQuery added in v1.12.0

func (t *Trace) PostgresQuery(query string, error bool, duration time.Duration)

func (*Trace) RedisQuery added in v1.12.0

func (t *Trace) RedisQuery(cmd, args string, error bool, duration time.Duration)

type Tracer added in v1.22.5

type Tracer struct {
	// contains filtered or unexported fields
}

func GetContainerTracer added in v1.22.5

func GetContainerTracer(containerId string) *Tracer

func (*Tracer) NewTrace added in v1.22.5

func (t *Tracer) NewTrace(destination common.HostPort) *Trace

Jump to

Keyboard shortcuts

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