tracing

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: Apache-2.0 Imports: 17 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

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

func (*Trace) ClickhouseQuery

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

func (*Trace) Http2Request

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

func (*Trace) HttpRequest

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

func (*Trace) MemcachedQuery

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

func (*Trace) MongoQuery

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

func (*Trace) MysqlQuery

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

func (*Trace) PostgresQuery

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

func (*Trace) RedisQuery

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

func (*Trace) ZookeeperRequest

func (t *Trace) ZookeeperRequest(op string, args string, status l7.Status, duration time.Duration)

type Tracer

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

func GetContainerTracer

func GetContainerTracer(containerId string) *Tracer

func (*Tracer) NewTrace

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