Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EntryIDTime ¶
func EntryIDToUint64 ¶
func IsZeroSpanID ¶
func IsZeroTraceID ¶
Types ¶
type EntryID ¶
func EntryIDFromString ¶
func MustNewEntryID ¶
func MustNewEntryID() EntryID
func NewEntryID ¶
type LogEntry ¶
type LogEntry struct {
ID EntryID
Timestamp time.Time
Level Level
Service string
Host string
TraceID TraceID
SpanID SpanID
Body string
Attrs []Attr
}
func NewLogEntry ¶
func (*LogEntry) DecodeBytes ¶
type SpanEntry ¶
type SpanEntry struct {
ID EntryID
TraceID TraceID
SpanID SpanID
ParentID SpanID
Service string
Operation string
StartTime time.Time
EndTime time.Time
Status SpanStatus
Attrs []Attr
}
func NewSpanEntry ¶
func (*SpanEntry) DecodeBytes ¶
type SpanID ¶
type SpanID [8]byte
func ZeroSpanID ¶
func ZeroSpanID() SpanID
func (SpanID) MarshalJSON ¶
type SpanStatus ¶
type SpanStatus uint8
const ( SpanStatusUnset SpanStatus = iota SpanStatusOK SpanStatusError )
func (SpanStatus) String ¶
func (s SpanStatus) String() string
Click to show internal directories.
Click to hide internal directories.