tracing

package
v1.18.10 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

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 NewTrace added in v1.12.0

func NewTrace(containerId string, destination netaddr.IPPort) *Trace

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)

Jump to

Keyboard shortcuts

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