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 // TODO: rename to Service or ResourceAttrs TraceID trace2.TraceID SpanID trace2.SpanID ParentSpanID trace2.SpanID Flags uint8 Pid PidInfo PeerName string HostName string OtherNamespace string }
Span contains the information being submitted by the following nodes in the graph. It enables comfortable handling of data from Go.
func (*Span) IsClientSpan ¶ added in v1.5.0
Click to show internal directories.
Click to hide internal directories.