Documentation ¶
Index ¶
- Constants
- func Init(machineId, hostname, version string)
- type Trace
- func (t *Trace) Http2Request(method, path, scheme string, status l7.Status, duration time.Duration)
- func (t *Trace) HttpRequest(method, path string, status l7.Status, duration time.Duration)
- func (t *Trace) MemcachedQuery(cmd string, items []string, error bool, duration time.Duration)
- func (t *Trace) MongoQuery(query string, error bool, duration time.Duration)
- func (t *Trace) MysqlQuery(query string, error bool, duration time.Duration)
- func (t *Trace) PostgresQuery(query string, error bool, duration time.Duration)
- func (t *Trace) RedisQuery(cmd, args string, error bool, duration time.Duration)
- type Tracer
Constants ¶
View Source
const (
MemcacheDBItemKeyName attribute.Key = "db.memcached.item"
)
Variables ¶
This section is empty.
Functions ¶
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 (*Trace) HttpRequest ¶ added in v1.12.0
func (*Trace) MemcachedQuery ¶ added in v1.12.0
func (*Trace) MongoQuery ¶ added in v1.12.0
func (*Trace) MysqlQuery ¶ added in v1.12.0
func (*Trace) PostgresQuery ¶ added in v1.12.0
Click to show internal directories.
Click to hide internal directories.