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 ¶
View Source
var LangVersion = strings.TrimPrefix(runtime.Version(), Lang)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.