ext

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2018 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppTypeWeb   = "web"
	AppTypeDB    = "db"
	AppTypeCache = "cache"
	AppTypeRPC   = "rpc"
)

Application types for services.

View Source
const (
	CassandraType             = "cassandra"
	CassandraQuery            = "cassandra.query"
	CassandraConsistencyLevel = "cassandra.consistency_level"
	CassandraCluster          = "cassandra.cluster"
	CassandraRowCount         = "cassandra.row_count"
	CassandraKeyspace         = "cassandra.keyspace"
	CassandraPaginated        = "cassandra.paginated"
)
View Source
const (
	ErrorMsg   = "error.msg"
	ErrorType  = "error.type"
	ErrorStack = "error.stack"
)

Standard error message metadata fields.

View Source
const (
	HTTPType   = "http"
	HTTPMethod = "http.method"
	HTTPCode   = "http.status_code"
	HTTPURL    = "http.url"
)

HTTP meta constants.

View Source
const (
	TargetHost = "out.host"
	TargetPort = "out.port"
)
View Source
const (
	// PriorityUserReject informs the backend that a trace should be rejected and not stored.
	// This should be used by user code overriding default priority.
	PriorityUserReject = -1
	// PriorityAutoReject informs the backend that a trace should be rejected and not stored.
	// This is used by the builtin sampler.
	PriorityAutoReject = 0
	// PriorityAutoReject informs the backend that a trace should be kept and not stored.
	// This is used by the builtin sampler.
	PriorityAutoKeep = 1
	// PriorityUserReject informs the backend that a trace should be kept and not stored.
	// This should be used by user code overriding default priority.
	PriorityUserKeep = 2
)
View Source
const (
	SQLType  = "sql"
	SQLQuery = "sql.query"
)
View Source
const (
	Lang          = "go"
	Interpreter   = runtime.Compiler + "-" + runtime.GOARCH + "-" + runtime.GOOS
	TracerVersion = "v0.5.0"
)
View Source
const (
	// The pid of the traced process
	Pid = "system.pid"
)

Standard system metadata names

Variables

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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