Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IgnoreMode ¶ added in v0.3.2
type IgnoreMode uint8
const ( IgnoreMetrics IgnoreMode = iota + 1 IgnoreTraces )
type PidInfo ¶ added in v0.3.2
type PidInfo struct { // HostPID is the PID as seen by the host (root cgroup) HostPID uint32 // UserID is the PID as seen by the user space. // Might differ from HostPID if the process is in a different namespace/cgroup/container/etc. UserPID uint32 // Namespace for the PIDs Namespace uint32 }
PidInfo stores different views of the PID of the process that generated the span
type Span ¶
type Span struct { Type EventType IgnoreSpan IgnoreMode ID uint64 Method string Path string Route string Peer string Host string HostPort int Status int ContentLength int64 RequestStart int64 Start int64 End int64 ServiceID svc.ID Metadata map[string]string Traceparent string Pid PidInfo }
Span contains the information being submitted by the following nodes in the graph. It enables comfortable handling of data from Go.
Click to show internal directories.
Click to hide internal directories.